Repeat something at set intervals
Ability to make something happen at set intervals.
12
votes
David Kemp
shared this idea
-
snekse commented
Just tested this. It works, but only kind of. The interval is all messed up. Trying setTimeout has the same problems.
-
snekse commented
It's not documented as part of the Bitsbox language, but you can use setInterval
// ---- START CODE ----
function randomUFO() {
stamp('ufo',random(750),random(1000))
}setInterval(randomUFO, 1500)
// ---- END CODE ----