Difference between revisions of "Sprite:swapChildren"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2015.04.04<br/>
+
'''Available since:''' Gideros 2015.04.04<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
'''Class:''' [[Sprite]]<br/>
=== <translate>Description</translate> ===
+
 
<translate>Swap two children index places</translate>
+
=== Description ===
<source lang="lua">
+
Swaps two children index places.
Sprite:swapChildren(child1,child2)
+
<syntaxhighlight lang="lua">
</source>
+
Sprite:swapChildren(child1,child2)
=== <translate>Parameters</translate> ===
+
</syntaxhighlight>
'''child1''': (Sprite) <translate>First child</translate> <br/>
+
 
'''child2''': (Sprite) <translate>Second child</translate> <br/>
+
=== Parameters ===
 +
'''child1''': (Sprite) first child<br/>
 +
'''child2''': (Sprite) second child<br/>
 +
 
 +
{{Sprite}}

Latest revision as of 14:33, 13 July 2023

Available since: Gideros 2015.04.04
Class: Sprite

Description

Swaps two children index places.

Sprite:swapChildren(child1,child2)

Parameters

child1: (Sprite) first child
child2: (Sprite) second child