Difference between revisions of "Sprite:getAnchorPosition"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2015.03.22<br/> | + | '''<translate>Available since</translate>:''' Gideros 2015.03.22<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Returns x,y,z anchor position of the [[Special:MyLanguage/Sprite|Sprite]] in its relative coordinates</translate> | <translate>Returns x,y,z anchor position of the [[Special:MyLanguage/Sprite|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 === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>anchor x position</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>anchor x position</translate><br/> |
− | '''Returns''' (number) <translate>anchor y position</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>anchor y position</translate><br/> |
− | '''Returns''' (number) <translate>anchor z position</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>anchor z position</translate><br/> |
Revision as of 07:29, 24 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