Fix randomInt
This commit is contained in:
@ -34,7 +34,7 @@ Here's an example mod:
|
||||
```blocks
|
||||
let hand = 0
|
||||
input.onGesture(Gesture.Shake, () => {
|
||||
hand = Math.randomInt(3)
|
||||
hand = Math.randomRange(0, 3)
|
||||
if (hand == 0) {
|
||||
basic.showLeds(`
|
||||
# # # # #
|
||||
|
Reference in New Issue
Block a user