Table of Contents

Sprite:getPosition

Available since version: Gideros 2011.6

Description:

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

Syntax:

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

Return value:

  • number: The x coordinates of the sprite
  • number: The y coordinates of the sprite
  • number: The z coordinates of the sprite