Sprite:setScale

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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