Difference between revisions of "Sprite:swapChildren"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.04.04<br/> === Description === Swap two children index places <source lang="lua"> = Sprite:swapChildren(child1child2,) </source>...") |
|||
Line 4: | Line 4: | ||
Swap two children index places | Swap two children index places | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Sprite:swapChildren(child1,child2) | |
</source> | </source> | ||
− | '''child1 | + | '''child1''': (Sprite) First child ''''''<br/> |
− | '''child2 | + | '''child2''': (Sprite) Second child ''''''<br/> |
Revision as of 10:20, 23 August 2018
Available since: Gideros 2015.04.04
Description
Swap two children index places
Sprite:swapChildren(child1,child2)
'child1: (Sprite) First child '
'child2: (Sprite) Second child '