Skip to main content

Gameplay::getHeadingFromVector2D

Client-side function

JavaScript​

Gets a heading in degrees between x and y points.

Required Params​

  • x: float
  • y: float

Return value​

  • float

Syntax​

mp.game.gameplay.getHeadingFromVector2D(x, y);

Example​

//todo