DisplayObjectContainer#getChildIndex()

getChildIndex(child) → {Number}

Returns the index position of a child DisplayObject instance

Parameters
Name Type Description
child DisplayObject

The DisplayObject instance to identify

Returns
Number -

The index position of the child display object to identify

Source code: pixi/display/DisplayObjectContainer.js (Line 112)
doc_phaser
2017-02-14 10:44:53
Comments
Leave a Comment

Please login to continue.