Difference between revisions of "Sprite:getChildIndex"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Returns the index of the specified child sprite.<br />
 
Returns the index of the specified child sprite.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Sprite:getChildIndex(child)
 
(number) = Sprite:getChildIndex(child)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''child''': (Sprite) The child sprite to identify. <br/>
+
'''child''': (Sprite) <translate>The child sprite to identify.</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) The index of the specified child sprite.<br/>
+
'''Returns''' (number) <translate>The index of the specified child sprite.</translate><br/>

Revision as of 13:33, 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.