In games of association football, teams compete to score the most goals during the match which is the only method of scoring in the game. A goal is scored when the ball passes completely over a goal line at either end of the field of play between two centrally positioned upright goal posts 24 feet (7.32 m) apart and underneath a horizontal crossbar at a height of 8 feet (2.44 m) — this frame is itself referred to as a goal. Each team aims to score at one end of the pitch, while preventing their opponents from scoring at the other end. Nets are usually attached to the goal frame to catch goalscoring balls, but the ball is not required to touch the net.