Difference between revisions of "Sprite:setScaleX"

From GiderosMobile
Line 12: Line 12:
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''scaleX''': (number) <translate>horizontal scale of the sprite</translate> <br/>
 
'''scaleX''': (number) <translate>horizontal scale of the sprite</translate> <br/>
 +
 +
{{Sprite}}

Revision as of 00:20, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

Description


Sets the horizontal scale of the sprite.

 Sprite:setScaleX(scaleX)

Parameters

scaleX: (number) horizontal scale of the sprite