Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 444 Bytes

getAllChildren.md

File metadata and controls

13 lines (8 loc) · 444 Bytes
ex.getAllChildren(displayObject)

Recursively get all descendants of a display object. Will return a flat list of display objects, including the initial display object.

Arguments

displayObject (PIXI.DisplayObject): Any object that inherits from PIXI.DisplayObject, such as PIXI.Sprite

Returns

(array): A flat list of display objects which has this display object as an ancestor, including the original display object.