Sprite:getPosition

From GiderosMobile

Available since: Gideros 2011.6
Class: Sprite

Description

Returns the x, y and z coordinates of the sprite.

(number), (number), (number) = Sprite:getPosition()

Return values

Returns (number) the x coordinate of the sprite
Returns (number) the y coordinate of the sprite
Returns (number) the z coordinate of the sprite