Revision as of 01:25, 4 December 2019 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2015.04.04
Class: Sprite


Swaps two child sprites at specifed indexes. Each index must be between 1
and the index number of the last child. Can be used to sort sprites into
a specific order much faster than adding and removing sprites.



index1: (number) The child index of the first sprite to swap.
index2: (number) The child index of the second sprite to swap.