Sprite:setScale

From GiderosMobile
Revision as of 14:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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) scale x of the object
scaleY: (number, default = scaleX) of the object
scaleZ: (number, default = scaleX) of the object