Garry's Mod Wiki

DSprite:GetRotation

  number DSprite:GetRotation()

Description

Gets the 2D rotation angle of the sprite, in the plane of the screen.

Returns

1 number
The anti-clockwise rotation in degrees.