Difference between revisions of "Sprite:setScaleX"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Sets the horizontal scale of the sprite.<br /> | Sets the horizontal scale of the sprite.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
Sprite:setScaleX(scaleX) | Sprite:setScaleX(scaleX) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''scaleX''': (number) horizontal scale of the sprite <br/> | + | '''scaleX''': (number) <translate>horizontal scale of the sprite</translate> <br/> |
Revision as of 13:48, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the horizontal scale of the sprite.
Sprite:setScaleX(scaleX)
Parameters
scaleX: (number) horizontal scale of the sprite