Table of Contents

Sprite:setX

Available since version: Gideros 2011.6

Description:

Sets the x coordinate of the sprite

Syntax:

Sprite:setX(x)

Parameters:

  • x: (number) The new x coordinate of the sprite