Sprite::pickRandom()
Picks a random number between the two limits.
Examples
Syntax
Java
Scratch
pick random () to ()
Parameters
Name | Data Type | Description |
---|---|---|
min | int | Minimal integer. |
max | int | Maximal integer. |
Return
int
Picks a random number between the two limits.
pick random () to ()
Name | Data Type | Description |
---|---|---|
min | int | Minimal integer. |
max | int | Maximal integer. |
int