Difference between revisions of "Sprite:getChildIndex"

Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Returns the index of the specified child sprite.<br />
 
Returns the index of the specified child sprite.<br />
Line 8: Line 8:
 
(number) = Sprite:getChildIndex(child)
 
(number) = Sprite:getChildIndex(child)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''child''': (Sprite) <translate>The child sprite to identify.</translate> <br/>
 
'''child''': (Sprite) <translate>The child sprite to identify.</translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>The index of the specified child sprite.</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The index of the specified child sprite.</translate><br/>

Revision as of 08:30, 24 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.