Difference between revisions of "Sprite:swapChildren"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2015.04.04<br/>
'''<translate>Available since</translate>:''' Gideros 2015.04.04<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Swap two children index places</translate>
+
Swaps two children index places.
 
<source lang="lua">
 
<source lang="lua">
Sprite:swapChildren(child1,child2)
+
Sprite:swapChildren(child1,child2)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''child1''': (Sprite) <translate>First child</translate> <br/>
+
=== Parameters ===
'''child2''': (Sprite) <translate>Second child</translate> <br/>
+
'''child1''': (Sprite) first child<br/>
 +
'''child2''': (Sprite) second child<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 20:08, 7 February 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