Sprite::pickRandom()
A random whole number between two numbers, both included.
Examples
Syntax
Java
.pickRandom(from, to)
Scratch
(pick random (from) to (to))
Parameters
| Name | Data Type | Description |
|---|---|---|
| from | int | the lowest |
| to | int | the highest |
Return
int