Difference between revisions of "Sprite:getScaleX"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the horizontal scale of the sprite.<br /> <br /> <source lang="lua"> (number), = Sprite...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = Sprite:getScaleX()
+
(number) = Sprite:getScaleX()
 
</source>
 
</source>
 
'''Returns''' (number) The horizontal scale  of the sprite.<br/>
 
'''Returns''' (number) The horizontal scale  of the sprite.<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the horizontal scale of the sprite.

(number) = Sprite:getScaleX()

Returns (number) The horizontal scale of the sprite.