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)
Please login to continue.