Difference between revisions of "Sprite:setPosition"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Sets the x, y and z coordinates of the sprite.<br />
 
Sets the x, y and z coordinates of the sprite.<br />
Line 8: Line 8:
 
  Sprite:setPosition(x,y,z)
 
  Sprite:setPosition(x,y,z)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''x''': (number) <translate>The new x coordinate of the sprite</translate> <br/>
 
'''x''': (number) <translate>The new x coordinate of the sprite</translate> <br/>
 
'''y''': (number) <translate>The new y coordinate of the sprite</translate> <br/>
 
'''y''': (number) <translate>The new y coordinate of the sprite</translate> <br/>
 
'''z''': (number) <translate>The new z coordinate of the sprite</translate> '''optional'''<br/>
 
'''z''': (number) <translate>The new z coordinate of the sprite</translate> '''optional'''<br/>

Revision as of 07:29, 24 August 2018

Available since: Gideros 2011.6

Description


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

 Sprite:setPosition(x,y,z)

Parameters

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