Garry's Mod Wiki

DSprite:SetRotation

  DSprite:SetRotation( number ang )

Description

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

Arguments

1 number ang
The anti-clockwise rotation in degrees.