Please provide more information on your question/concern, loop itself used to repeat things, but by repeat loop, do you mean to have nested loop?
Hello user, welcome to the community!
Before making a post, please follow these instructions:
This book chapter should help:
Also see the Clock Timer event, for visible looping over longer periods of time.
you can use this way:
first ad the clock
uncheck "TimerEnabled" and set Timerlnterval to the time you want the app to wait between any repeat.
check TimerAlwawsfires if you want the loop to work even if the app is minimized.
now use these blocks to start the loop:
use this block to say the app what to repeat:
to stop the loop, use these blocks:
Don't set the TimerInterval to 0ms, since this invalidates its use; you could use
while/for instead. I believe @ABG's post qualifies it to be higher (at least 1000ms or more)...
Moreover, setting it to 0ms doesn't account for the processes taking place inside of the loop; which at least would take around ~5-6ms on a moderate phone. Ergo, it would overlap.
How to make a dice roll 1000 times
Just by looping over the get random from list block 1000 times, as it is done for once in code below,
Don't forget to record the outcome of each trial.
Something similar you might be interested in