Difference between revisions of "Sprite:contains"

From GiderosMobile
Line 15: Line 15:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<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/>
 
'''<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/>
 +
 +
{{Sprite}}

Revision as of 01:05, 4 December 2019


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.