Skip to content

control · reference

setInterval·

Runs the function again and again, every that many milliseconds.

use
setInterval(callback, ms)
callback
the block starts with function() { }
ms
the block starts with 1000
kind
a statement, or a value inside another block
drawer
Control, in the code room's blocks

player two knows this block

Ask it how setInterval works in your game.