Difference between revisions of "Sprite:setY"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Sprite]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Sets the y coordinate of the sprite.<br />
+
Sets the y coordinate of the Sprite.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
+
Sprite:setY(y)
Sprite:setY(y)
+
</syntaxhighlight>
</source>
+
 
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''y''': (number) <translate>The new y coordinate of the sprite</translate> <br/>
+
'''y''': (number) the new y coordinate of the sprite<br/>
 +
 
 +
{{Sprite}}

Latest revision as of 15:33, 13 July 2023

Available since: Gideros 2011.6
Class: Sprite

Description

Sets the y coordinate of the Sprite.

Sprite:setY(y)

Parameters

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