Category: Processing
Description: Picks a random element from an array and outputs both the selected value and its zero-based index.
Text Array
| Name | Type | Required | Description |
|---|
| Array | text-array | true | The array to pick a random item from |
Outputs
| Name | Type | Description |
|---|
| Value | text | The randomly selected item |
| Index | number | The zero-based index of the selected item |
Output Event Triggers
Number Array
| Name | Type | Required | Description |
|---|
| Array | number-array | true | The array to pick a random item from |
Outputs
| Name | Type | Description |
|---|
| Value | number | The randomly selected item |
| Index | number | The zero-based index of the selected item |
Output Event Triggers