Difference between revisions of "Sprite:getAnchorPosition"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2015.03.22<br/> | '''Available since:''' Gideros 2015.03.22<br/> | ||
=== Description === | === Description === | ||
− | Returns x,y,z anchor position of the | + | <translate>Returns x,y,z anchor position of the [[[Sprite]]] in its relative coordinates</translate> |
<source lang="lua"> | <source lang="lua"> | ||
(number), (number), (number) = Sprite:getAnchorPosition() | (number), (number), (number) = Sprite:getAnchorPosition() | ||
</source> | </source> | ||
=== Return values === | === Return values === | ||
− | '''Returns''' (number) anchor x position<br/> | + | '''Returns''' (number) <translate>anchor x position</translate><br/> |
− | '''Returns''' (number) anchor y position<br/> | + | '''Returns''' (number) <translate>anchor y position</translate><br/> |
− | '''Returns''' (number) anchor z position<br/> | + | '''Returns''' (number) <translate>anchor z position</translate><br/> |
Revision as of 13:38, 23 August 2018
Available since: Gideros 2015.03.22
Description
Returns x,y,z anchor position of the [[[Sprite]]] in its relative coordinates
(number), (number), (number) = Sprite:getAnchorPosition()
Return values
Returns (number) anchor x position
Returns (number) anchor y position
Returns (number) anchor z position