Sprite::pickRandom()
Returns a random integer between the specified range.
Syntax
Java
.pickRandom(from, to)
Parameters
| Name | Data Type | Description |
|---|---|---|
| from | int | the lower bound of the range (inclusive) |
| to | int | the upper bound of the range (exclusive) |
Return
int
