Difference between revisions of "Sprite:swapChildren"

From GiderosMobile
Line 6: Line 6:
 
  Sprite:swapChildren(child1,child2)
 
  Sprite:swapChildren(child1,child2)
 
</source>
 
</source>
'''child1''': (Sprite) First child ''''''<br/>
+
=== Parameters ===
'''child2''': (Sprite) Second child ''''''<br/>
+
'''child1''': (Sprite) First child <br/>
 +
'''child2''': (Sprite) Second child <br/>

Revision as of 10:45, 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