control · reference
timedLoop·
Runs the function every that many milliseconds until stopTimedLoop().
- use
timedLoop(ms, callback)- ms
- the block starts with
1000 - callback
- the block starts with
function() { } - kind
- a statement: a line of its own
- drawer
- Control, in the code room's blocks
player two knows this block
Ask it how timedLoop works in your game.