Difference between revisions of "Sprite:getAnchorPosition"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.03.22<br/> === Description === Returns x,y,z anchor position of the `Sprite` in its relative coordinates <source lang="lua"> (num...")
 
Line 4: Line 4:
 
Returns x,y,z anchor position of the `Sprite` in its relative coordinates
 
Returns x,y,z anchor position of the `Sprite` in its relative coordinates
 
<source lang="lua">
 
<source lang="lua">
(number) (number) (number), = Sprite:getAnchorPosition()
+
(number), (number), (number) = Sprite:getAnchorPosition()
 
</source>
 
</source>
 
'''Returns''' (number) anchor x position<br/>
 
'''Returns''' (number) anchor x position<br/>
 
'''Returns''' (number) anchor y position<br/>
 
'''Returns''' (number) anchor y position<br/>
 
'''Returns''' (number) anchor z position<br/>
 
'''Returns''' (number) anchor z position<br/>

Revision as of 10:17, 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()

Returns (number) anchor x position
Returns (number) anchor y position
Returns (number) anchor z position