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.
- Source code: core/Group.js (Line 806)
Please login to continue.