DisplayObjectContainer#contains()

contains(child) → {Boolean}

Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.

Parameters
Name Type Description
child DisplayObject

-

Returns
Boolean -
Source code: pixi/display/DisplayObjectContainer.js (Line 449)
doc_phaser
2017-02-14 10:44:51
Comments
Leave a Comment

Please login to continue.