Difference between revisions of "Sprite:getRotationY"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the rotation of the sprite around Y axis in degrees.
 
Returns the rotation of the sprite around Y axis in degrees.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Sprite:getRotationY()
 
(number) = Sprite:getRotationY()
 
</source>
 
</source>

Revision as of 15:31, 13 July 2023

Available since: Gideros 2015.04.04
Class: Sprite

Description

Returns the rotation of the sprite around Y axis in degrees. <syntaxhighlight lang="lua"> (number) = Sprite:getRotationY() </source>

Return values

Returns (number) rotation of the Sprite on y in degrees