PitchKit
API Reference@pitchkit/coreVariables

GOAL FRAMES

const GOAL_FRAMES: Readonly<Record<GoalFrameId, GoalFrame>>;

Defined in: packages/core/src/goal/frames.ts:34

Every frame has lateral values increasing to the shooter's right, so the goal reads as the shooter sees it.

  • statsbomb: a shot's end_location[1] and [2], in yards. The posts are at 36 and 44 and the crossbar at 8 ft (2.67 yd).
  • metric: metres from the middle of the goal and off the ground.