Difference between revisions of "Sprite:getChildIndex"

From GiderosMobile
Line 8: Line 8:
 
(number) = Sprite:getChildIndex(child)
 
(number) = Sprite:getChildIndex(child)
 
</source>
 
</source>
'''child''': (Sprite) The child sprite to identify. ''''''<br/>
+
=== Parameters ===
 +
'''child''': (Sprite) The child sprite to identify. <br/>
 +
=== Return values ===
 
'''Returns''' (number) The index of the specified child sprite.<br/>
 
'''Returns''' (number) The index of the specified child sprite.<br/>

Revision as of 10:44, 23 August 2018

Available since: Gideros 2011.6

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.