Difference between revisions of "Sprite:getPosition"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the x, y and z coordinates of the sprite.<br /> <br /> <source lang="lua"> (number) (nu...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) (number) (number) | + | (number), (number), (number) = Sprite:getPosition() |
</source> | </source> | ||
'''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:17, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the x, y and z coordinates of the sprite.
(number), (number), (number) = Sprite:getPosition()
Returns (number) The x coordinates of the sprite
Returns (number) The y coordinates of the sprite
Returns (number) The z coordinates of the sprite