Table of Contents

Sprite:setScale

Available since version: Gideros 2011.6

Description:

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

Syntax:

Sprite:setScale(scaleX, scaleY, scaleZ)

Parameters:

  • scaleX: (number) of the object
  • scaleY: (number, default = scaleX) of the object
  • scaleZ: (number, default = scaleX) of the object