Sprite:contains

From GiderosMobile
Revision as of 10:24, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6

Description


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

(bool) = Sprite:contains(child)

'child: (Sprite) The child object to test. '
Returns (bool) `true` if the child object is contained in the subtree of this `Sprite` instance, otherwise `false`.