The player is in an offside position. A teammate plays the ball. The player becomes actively involved in the play. Importantly: the judgment is made at the moment the ball is played—not when received.