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
Explain this block
Ask how timedLoop works in your game.