Sprite:setScale

From GiderosMobile
Revision as of 14:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: Sprite

Description

Sets the horizontal, vertical and z axis scales of the sprite. <syntaxhighlight lang="lua"> Sprite:setScale(scaleX,scaleY,scaleZ) </source>

Parameters

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