Table of Contents

Sprite:getScaleX

Available since version: Gideros 2011.6

Description:

Returns the horizontal scale of the sprite.

Syntax:

(number) = Sprite:getScaleX()

Return value:

  • number: The horizontal scale of the sprite.