Sprite:contains

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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