Sprite:setPosition: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the x, y and z coordinates of the sprite.<br /> <br /> <source lang="lua"> = Sprite:setPos..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
= Sprite:setPosition(xyz,)
Sprite:setPosition(x,y,z)
</source>
</source>
'''x:''' (number) The new x coordinate of the sprite ''''''<br/>
'''x''': (number) The new x coordinate of the sprite ''''''<br/>
'''y:''' (number) The new y coordinate of the sprite ''''''<br/>
'''y''': (number) The new y coordinate of the sprite ''''''<br/>
'''z:''' (number) The new z coordinate of the sprite '''optional'''<br/>
'''z''': (number) The new z coordinate of the sprite '''optional'''<br/>

Revision as of 09:16, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the x, y and z coordinates of the sprite.

 Sprite:setPosition(x,y,z)

'x: (number) The new x coordinate of the sprite '
'y: (number) The new y coordinate of the sprite '
z: (number) The new z coordinate of the sprite optional