Difference between revisions of "Sprite:setX"

From GiderosMobile
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2011.6<br/>
<languages />
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
=== Description ===
=== <translate>Description</translate> ===
+
Sets the x coordinate of the sprite.
<translate><br />
 
Sets the x coordinate of the sprite<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
Sprite:setX(x)
+
Sprite:setX(x)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''x''': (number) <translate>The new x coordinate of the sprite</translate> <br/>
+
=== Parameters ===
 +
'''x''': (number) the new x coordinate of the sprite<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 01:53, 5 January 2023

Available since: Gideros 2011.6
Class: Sprite

Description

Sets the x coordinate of the sprite.

Sprite:setX(x)

Parameters

x: (number) the new x coordinate of the sprite