Table of Contents

Sprite:setRotation

Available since version: Gideros 2011.6

Description:

Sets the rotation of the sprite in degrees.

Syntax:

Sprite:setRotation(rotation)

Parameters:

  • rotation: (number) rotation of the sprite