Workshop.codes
Create

Angle Between Players Last updated April 20, 2026

Description

Returns the angle in degrees between the facing direction of one player and the direction toward a second player. A value of 0 means the first player is looking directly at the second. A value of 180 means the second player is directly behind the first.

Snippet

Angle Between Players(Event Player, Attacker);

Properties

Returns: Number
Parameters: Player, Other Player

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

Other Player
Type: Player, Default: Event Player
The player toward whom the angle is measured.

Workshop.codes