Difference between revisions of "Sprite:getScale"

From GiderosMobile
Line 8: Line 8:
 
(number), (number), (number) = Sprite:getScale()
 
(number), (number), (number) = Sprite:getScale()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) The horizontal scale of the sprite<br/>
 
'''Returns''' (number) The horizontal scale of the sprite<br/>
 
'''Returns''' (number) The vertical scale of the sprite<br/>
 
'''Returns''' (number) The vertical scale of the sprite<br/>
 
'''Returns''' (number) The depth scale of the sprite<br/>
 
'''Returns''' (number) The depth scale of the sprite<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the horizontal, vertical and z axis scales of the sprite.

(number), (number), (number) = Sprite:getScale()

Return values

Returns (number) The horizontal scale of the sprite
Returns (number) The vertical scale of the sprite
Returns (number) The depth scale of the sprite