Difference between revisions of "Sprite:getRotation"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Returns the rotation of the sprite in degrees.
Returns the rotation of the sprite in degrees.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Sprite:getRotation()
 
(number) = Sprite:getRotation()
 
</source>
 
</source>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>Rotation of the Sprite in degrees</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) rotation of the Sprite in degrees<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 18:07, 7 February 2023

Available since: Gideros 2011.6
Class: Sprite

Description

Returns the rotation of the sprite in degrees.

(number) = Sprite:getRotation()

Return values

Returns (number) rotation of the Sprite in degrees