SpriteBatch#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

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

Please login to continue.