Stopping a loop at the press of a button

You sure can!

This will repeat 10 times, unless it is stopped. If I were to start this again by clicking the Start Button then it would repeat it another 10 times. Is this what you would like?

Functions are great, and actually very easy to use with Thunkable. Check out the docs on Functions.