let kocka = 0 input.onGesture(Gesture.Shake, function () { kocka = randint(1, 6) basic.showNumber(kocka) basic.pause(500) basic.clearScreen() })