A throw-in is awarded to the opponents of the player who last touched the ball when the whole of the ball passes over the touchline, on the ground or in the air, or when the referee penalises a player for delaying the taking of a throw-in for their team. Everything after that is procedure: how the ball is delivered, where opponents stand, what happens when it goes straight into a goal, and what the thrower may do next.