Difference between revisions of "Sprite:removeChildAt"

From GiderosMobile
Line 13: Line 13:
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''index''': (number) <translate>The child index of the sprite to remove.</translate> <br/>
 
'''index''': (number) <translate>The child index of the sprite to remove.</translate> <br/>
 +
 +
{{Sprite}}

Revision as of 00:14, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

Description


Removes the child Sprite instance at the specifed index. Index of the first child is 1
and index of the last child can be get from Sprite:getNumChildren function.

 Sprite:removeChildAt(index)

Parameters

index: (number) The child index of the sprite to remove.