Difference between revisions of "Sprite:setRotation"

From GiderosMobile
Line 8: Line 8:
 
  Sprite:setRotation(rotation)
 
  Sprite:setRotation(rotation)
 
</source>
 
</source>
'''rotation''': (number) rotation of the sprite ''''''<br/>
+
=== Parameters ===
 +
'''rotation''': (number) rotation of the sprite <br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the rotation of the sprite in degrees.

 Sprite:setRotation(rotation)

Parameters

rotation: (number) rotation of the sprite