Sprite:swapChildren: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 5: Line 5:
=== Description ===
=== Description ===
Swaps two children index places.
Swaps two children index places.
<source lang="lua">
<syntaxhighlight lang="lua">
Sprite:swapChildren(child1,child2)
Sprite:swapChildren(child1,child2)
</source>
</source>

Revision as of 13:31, 13 July 2023

Available since: Gideros 2015.04.04
Class: Sprite

Description

Swaps two children index places. <syntaxhighlight lang="lua"> Sprite:swapChildren(child1,child2) </source>

Parameters

child1: (Sprite) first child
child2: (Sprite) second child