Difference between revisions of "Sprite:swapChildren"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2015.04.04<br/>
 
'''Available since:''' Gideros 2015.04.04<br/>
 
=== Description ===
 
=== Description ===
Swap two children index places
+
<translate>Swap two children index places</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Sprite:swapChildren(child1,child2)
 
  Sprite:swapChildren(child1,child2)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''child1''': (Sprite) First child <br/>
+
'''child1''': (Sprite) <translate>First child</translate> <br/>
'''child2''': (Sprite) Second child <br/>
+
'''child2''': (Sprite) <translate>Second child</translate> <br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2015.04.04

Description

Swap two children index places

 Sprite:swapChildren(child1,child2)

Parameters

child1: (Sprite) First child
child2: (Sprite) Second child