Cause a script to pause or slow down



HI All

How can I cause a script to pause or slow down.
I am trying to to use 2 loops (nested) to turn on 
each led one at a time by col/row (x/y).

It is working but does it all at once very quickly.

Thanks for help


Best you can do is to use an “Every X do” block and add the conditionals and the increment inside the loop, so you can control the timing directly from the block.

Something like:

Every 1 seconds do
If (y < 16)
Lightboard turn on light at (x,y)
If (x > 8) x=0, y++;
Else x++)
else Do Nothing