Difference between revisions of "Sprite:getChildIndex"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Returns the index of the specified child sprite.
Returns the index of the specified child sprite.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Sprite:getChildIndex(child)
 
(number) = Sprite:getChildIndex(child)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''child''': (Sprite) <translate>The child sprite to identify.</translate> <br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''child''': (Sprite) the child sprite to identify<br/>
'''<translate>Returns</translate>''' (number) <translate>The index of the specified child sprite.</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (number) the index of the specified child sprite<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 17:54, 7 February 2023

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