Workshop.codes
Create

Is Player Behind Player Last updated April 23, 2026

Description

Returns True if a second player is currently located within the rear hemisphere of a reference player's facing direction. Equivalent to checking if the angle between the reference player's forward vector and the direction to the second player exceeds 90 degrees.

Snippet

Is Player Behind Player(Event Player, Attacker);

Properties

Returns: Boolean
Parameters: Player, Other Player

Player
Type: Player, Default: Event Player
The reference player whose facing direction is used.

Other Player
Type: Player, Default: Event Player
The player whose position is evaluated relative to the reference.

Workshop.codes