Difference between revisions of "Sprite:setRotation"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Sets the rotation of the sprite in degrees.<br />
 
Sets the rotation of the sprite in degrees.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Sprite:setRotation(rotation)
 
  Sprite:setRotation(rotation)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''rotation''': (number) rotation of the sprite <br/>
+
'''rotation''': (number) <translate>rotation of the sprite</translate> <br/>

Revision as of 13:33, 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