Sprite:getChildIndex

This page contains changes which are not marked for translation.


Available since: Gideros 2011.6
Class: Sprite

Description


Returns the index of the specified child sprite.

(number) = Sprite:getChildIndex(child)

Parameters

child: (Sprite) The child sprite to identify.

Return values

Returns (number) The index of the specified child sprite.