Difference between revisions of "Sprite:getScale"

From GiderosMobile
Line 14: Line 14:
 
'''<translate>Returns</translate>''' (number) <translate>The vertical scale of the sprite</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The vertical scale of the sprite</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The depth scale of the sprite</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The depth scale of the sprite</translate><br/>
 +
 +
{{Sprite}}

Revision as of 00:10, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

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