When the players of both teams line up to begin the next play, no member of either team may, prior to the snap of the ball, cross the line of scrimmage. In order for there to be a legal beginning of a play, a certain number of the players on the offensive team, including certain eligible receivers, must be at, on or within a few inches of the line of scrimmage.
In Canadian football the team on defence must line up no nearer than a yard to the line of scrimmage. in American football they must only be beyond the line.