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