Table of Contents

Sprite:getScale

Available since version: Gideros 2011.6

Description:

Returns the horizontal, vertical and z axis scales of the sprite.

Syntax:

(number), (number), (number) = Sprite:getScale()

Return value:

  • number: The horizontal scale of the sprite
  • number: The vertical scale of the sprite
  • number: The depth scale of the sprite