Difference between revisions of "Sprite:swapChildren"
From GiderosMobile
| Line 1: | Line 1: | ||
| __NOTOC__ | __NOTOC__ | ||
| − | '''Available since:''' Gideros 2015.04.04<br/> | + | '''<translate>Available since</translate>:''' Gideros 2015.04.04<br/> | 
| − | === Description === | + | === <translate>Description</translate> === | 
| <translate>Swap two children index places</translate> | <translate>Swap two children index places</translate> | ||
| <source lang="lua"> | <source lang="lua"> | ||
|   Sprite:swapChildren(child1,child2) |   Sprite:swapChildren(child1,child2) | ||
| </source> | </source> | ||
| − | === Parameters === | + | === <translate>Parameters</translate> === | 
| '''child1''': (Sprite) <translate>First child</translate> <br/> | '''child1''': (Sprite) <translate>First child</translate> <br/> | ||
| '''child2''': (Sprite) <translate>Second child</translate> <br/> | '''child2''': (Sprite) <translate>Second child</translate> <br/> | ||
Revision as of 07:28, 24 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 
