Particles.Arcade.Emitter#resetCursor()

resetCursor(index) → {any}

Sets the group cursor to the first child in the group.

If the optional index parameter is given it sets the cursor to the object at that index instead.

Parameters
Name Type Argument Default Description
index integer <optional>
0

Set the cursor to point to a specific index.

Returns
any -

The child the cursor now points to.

Inherited From
Source code: core/Group.js (Line 806)
doc_phaser
2017-02-14 10:58:20
Comments
Leave a Comment

Please login to continue.