Difference between revisions of "Sprite:getPosition"

From GiderosMobile
Line 8: Line 8:
 
(number), (number), (number) = Sprite:getPosition()
 
(number), (number), (number) = Sprite:getPosition()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) The x coordinates of the sprite<br/>
 
'''Returns''' (number) The x coordinates of the sprite<br/>
 
'''Returns''' (number) The y coordinates of the sprite<br/>
 
'''Returns''' (number) The y coordinates of the sprite<br/>
 
'''Returns''' (number) The z coordinates of the sprite<br/>
 
'''Returns''' (number) The z coordinates of the sprite<br/>

Revision as of 10:41, 23 August 2018

Available since: Gideros 2011.6

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