Sprite:getPosition

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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