The ball becomes in play as soon as it leaves the penalty area -- if any player makes contact with the ball before it becomes in play the kick is retaken. If the ball fails to leave the penalty area (or goes out of play before it leaves the penalty area) the kick is retaken.
what is the restart if a goal kick does not leave the penalty area
the kick is retaken the kick is retaken