getRandom(startIndex, length) → {any}
Returns a random child from the group.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
startIndex | integer | <optional> | 0 | Offset from the front of the group (lowest child). |
length | integer | <optional> | (to top) | Restriction on the number of values you want to randomly select from. |
Returns
any -
A random child of this Group.
- Inherited From
- Source code: core/Group.js (Line 2350)
Please login to continue.