AngleFromVec2

AngleFromVec2

Function. Calculates the rotation angle of a 2D vector in degrees.

Returns the angle of the input vector relative to the positive X axis. This is the inverse operation of Vec2FromAngle.

Properties & inputs:

  • Vector (input | property): The input 2D vector.

Output:

  • Rotation angle in degrees.