Particles.Arcade.Emitter#getIndex()

getIndex(child) → {integer}

Get the index position of the given child in this group, which should match the child's z property.

Parameters
Name Type Description
child any

The child to get the index for.

Returns
integer -

The index of the child or -1 if it's not a member of this group.

Inherited From
Source code: core/Group.js (Line 1029)
doc_phaser
2017-02-14 10:57:35
Comments
Leave a Comment

Please login to continue.