Observation

The 69 inputs each player receives on every decision.

Each player receives a separate 69-element vector. Both teams see themselves attacking toward +x. The engine rotates the second team's view by 180 degrees, changing the signs of both axes. The centre spot is (0, 0) and the opposing goal line is x = 1.

Positions, offsets, and distances are divided by 20 m, half the length of the pitch. Player velocities are divided by 7 m/s and ball velocity by 18 m/s. Normalized values can exceed 1 in magnitude. Relative positions are offsets from the player receiving the observation. All indices below are zero-based and inclusive.

Player and ball

IndicesValue
0–1Player position (x, y)
2–3Player velocity (vx, vy)
4–6Player slot as a one-hot vector in slot order, corresponding to shirt numbers 1–3
7Sprint reserve
8Fatigue
9Stagger time remaining divided by the maximum stagger time (0.6 s)
10Kick cooldown remaining divided by the full cooldown (0.3 s)
111 if the player can kick now, including restart restrictions
12Surface-to-surface gap to the ball, divided by 20 m and clipped to [0, 2]
131 if the player is currently in an offside position
141 if the player has a stored offside flag from an earlier touch
15–16Ball position
17–18Ball position relative to the player
19–20Ball velocity

Other players

IndicesOrderFields in each block
21–27, 28–34Two teammates in slot order, skipping the observing playerRelative position (2), velocity (2), reserve, staggered flag, stored offside flag
35–40, 41–46, 47–52Three opponents, nearest first, with ties in slot orderRelative position (2), velocity (2), reserve, staggered flag

Match state

IndicesValue
53–59Phase one-hot in this order play, kickoff, throw_in, corner, goal_kick, free_kick, drop_ball
60–61Restart ownership flags in order, ours then theirs
62Restart time remaining divided by 6 s
63Half, 0 for first and 1 for second
64Time remaining in the half divided by 180 s
65–66Our goals and their goals, each divided by 10
67–68Last-touch flags in order, ours then theirs

Indices 60–62 are zero during open play. Both last-touch flags are zero when there is no recorded last touch. In the kit, proxyfootball.interface.layout(3) gives the Python slices for the me, ball, teammates, opponents, and game blocks.