Sprite:setRotationY: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source>" to "</syntaxhighlight>"
 
Line 7: Line 7:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Sprite:setRotationY(yrotation)
Sprite:setRotationY(yrotation)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

Latest revision as of 13:33, 13 July 2023

Available since: Gideros 2015.4.4
Class: Sprite

Description

Sets the rotation of the sprite in degrees around its Y axis.

Sprite:setRotationY(yrotation)

Parameters

yrotation: (number) y rotation of the sprite