Difference between revisions of "Sprite:getChildIndex"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the index of the specified child sprite.<br /> <br /> <source lang="lua"> (number), = S...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = Sprite:getChildIndex(child,)
+
(number) = Sprite:getChildIndex(child)
 
</source>
 
</source>
'''child:''' (Sprite) The child sprite to identify. ''''''<br/>
+
'''child''': (Sprite) The child sprite to identify. ''''''<br/>
 
'''Returns''' (number) The index of the specified child sprite.<br/>
 
'''Returns''' (number) The index of the specified child sprite.<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the index of the specified child sprite.

(number) = Sprite:getChildIndex(child)

'child: (Sprite) The child sprite to identify. '
Returns (number) The index of the specified child sprite.