Sprite:contains: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
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 />
Determines whether the specified sprite is contained in the subtree of<br />
Determines whether the specified sprite is contained in the subtree of<br />
Line 9: Line 9:
(bool) = Sprite:contains(child)
(bool) = Sprite:contains(child)
</source>
</source>
=== Parameters ===
=== <translate>Parameters</translate> ===
'''child''': (Sprite) <translate>The child object to test.</translate> <br/>
'''child''': (Sprite) <translate>The child object to test.</translate> <br/>
=== Return values ===
=== <translate>Return values</translate> ===
'''Returns''' (bool) <translate>[[Special:MyLanguage/true|true]] if the child object is contained in the subtree of this [[Special:MyLanguage/Sprite|Sprite]] instance, otherwise [[Special:MyLanguage/false|false]].</translate><br/>
'''<translate>Returns</translate>''' (bool) <translate>[[Special:MyLanguage/true|true]] if the child object is contained in the subtree of this [[Special:MyLanguage/Sprite|Sprite]] instance, otherwise [[Special:MyLanguage/false|false]].</translate><br/>

Revision as of 06:26, 24 August 2018

Available since: Gideros 2011.6

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.