Sprite Rotation

Gets the rotation of a sprite.


rotation = Sprite Rotation (spriteID)


The rotation of a sprite controls the rotation of it on screen.

spriteID is the number of the sprite.

rotation is the clockwise rotation (in degrees) of the sprite. This can be any value including negative numbers. The default rotation of a sprite is 0.

Table of contents