Table of Contents

Sprite:getChildIndex

Available since version: Gideros 2011.6

Description:

Returns the index of the specified child sprite.

Syntax:

(number) = Sprite:getChildIndex(child)

Parameters:

  • child: (Sprite) The child sprite to identify.

Return value:

  • number: The index of the specified child sprite.