Difference between revisions of "Sprite:getScale"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the horizontal, vertical and z axis scales of the sprite.<br /> <br /> <source lang="lu...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number) (number) (number), = Sprite:getScale()
+
(number), (number), (number) = Sprite:getScale()
 
</source>
 
</source>
 
'''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:21, 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()

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