Difference between revisions of "Sprite:getPosition"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Returns the x, y and z coordinates of the sprite.<br /> | Returns the x, y and z coordinates of the sprite.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
(number), (number), (number) = Sprite:getPosition() | (number), (number), (number) = Sprite:getPosition() | ||
</source> | </source> | ||
=== Return values === | === Return values === | ||
− | '''Returns''' (number) The x coordinates of the sprite<br/> | + | '''Returns''' (number) <translate>The x coordinates of the sprite</translate><br/> |
− | '''Returns''' (number) The y coordinates of the sprite<br/> | + | '''Returns''' (number) <translate>The y coordinates of the sprite</translate><br/> |
− | '''Returns''' (number) The z coordinates of the sprite<br/> | + | '''Returns''' (number) <translate>The z coordinates of the sprite</translate><br/> |
Revision as of 13:33, 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