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 ===
<translate>Returns x,y,z anchor position of the [[[Sprite]]] in its relative coordinates</translate>
+
<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()

Revision as of 14:00, 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