Difference between revisions of "Sprite:contains"

From GiderosMobile
(remove language stuff)
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 />
+
Determines whether the specified sprite is contained in the subtree of this '''Sprite''' instance.
Determines whether the specified sprite is contained in the subtree of<br />
 
this [[Special:MyLanguage/Sprite|Sprite]] instance.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(bool) = Sprite:contains(child)
 
(bool) = Sprite:contains(child)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''child''': (Sprite) <translate>The child object to test.</translate> <br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''child''': (Sprite) the child object to test<br/>
'''<translate>Returns</translate>''' (bool) <translate>''true'' if the child object is contained in the subtree of this [[Special:MyLanguage/Sprite|Sprite]] instance, otherwise ''false''.</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (bool) ''true'' if the child object is contained in the subtree of this '''Sprite''' instance, otherwise ''false''<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 08:04, 31 December 2020

Available since: Gideros 2011.6
Class: Sprite

Description

Determines whether the specified sprite is contained in the subtree of this Sprite instance.

(bool) = Sprite:contains(child)

Parameters

child: (Sprite) the child object to test

Return values

Returns (bool) true if the child object is contained in the subtree of this Sprite instance, otherwise false