Control block "Repeat" missing

Hello, in blocks part control I miss a command
repeat ...... permanently
or repeat ......... until ............
If it is not available, how can I substitute it?

kind regards from Schildbauer

you have a "while test" block.

are these from Scratch you're talking about?

you could use the while test or any of the loops to substitute theme depending upon your needs.

It is important to note here that because App Inventor is running what is effectively native code in a native environment, it is generally not a good idea to use a long running loop in the blocks as this prevents the main thread from returning to the OS and will result in an Application Not Responding error. For App Inventor, repeatable actions should be done using a Clock component, which will yield control to the OS at the end of each invocation to allow for processing other events.

1 Like