Difference between revisions of "Sprite:getChildIndex"

 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
<br />
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
 +
=== <translate>Description</translate> ===
 +
<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 ===
+
=== <translate>Parameters</translate> ===
'''child''': (Sprite) The child sprite to identify. <br/>
+
'''child''': (Sprite) <translate>The child sprite to identify.</translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) The index of the specified child sprite.<br/>
+
'''<translate>Returns</translate>''' (number) <translate>The index of the specified child sprite.</translate><br/>
 +
 
 +
{{Sprite}}

Latest revision as of 01:07, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

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.