Difference between revisions of "Sprite:getPosition"

From GiderosMobile
Line 14: Line 14:
 
'''<translate>Returns</translate>''' (number) <translate>The y coordinates of the sprite</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The y coordinates of the sprite</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The z coordinates of the sprite</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The z coordinates of the sprite</translate><br/>
 +
 +
{{Sprite}}

Revision as of 00:09, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

Description


Returns the x, y and z coordinates of the sprite.

(number), (number), (number) = Sprite:getPosition()

Return values

Returns (number) The x coordinates of the sprite
Returns (number) The y coordinates of the sprite
Returns (number) The z coordinates of the sprite