Change docs to randomInt
This commit is contained in:
@ -58,7 +58,7 @@ on the screen.
|
||||
|
||||
```block
|
||||
input.onGesture(Gesture.Shake, () => {
|
||||
basic.showNumber(Math.random(7))
|
||||
basic.showNumber(Math.randomInt(7))
|
||||
})
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user