Sprite:contains: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 9: Line 9:
(bool) = Sprite:contains(child)
(bool) = Sprite:contains(child)
</source>
</source>
'''child''': (Sprite) The child object to test. ''''''<br/>
=== Parameters ===
'''child''': (Sprite) The child object to test. <br/>
=== Return values ===
'''Returns''' (bool) `true` if the child object is contained in the subtree of this `Sprite` instance, otherwise `false`.<br/>
'''Returns''' (bool) `true` if the child object is contained in the subtree of this `Sprite` instance, otherwise `false`.<br/>

Revision as of 09:38, 23 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`.