Sprite Rotation

Gets the rotation of a sprite.

Syntax

rotation = Sprite Rotation (spriteID)

Description

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