Sprite:setScale

From GiderosMobile
Revision as of 00:20, 4 December 2019 by MoKaLux (talk | contribs)


Available since: Gideros 2011.6
Class: Sprite

Description


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

 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