App Inventor delay implementation question (How do I use a delay?)

I knew there is no delay function in App Inventor (AI2), but I don't know how to implement delay.

You use a clock timer, and place the actions you want to happen after the set interval in the clock timer event.

You might try this:

blocks (31)
Just replace do_something with the actions you want.


Remove procedure from Screen1.Initialise (or change the name of the second instance of the procedure)

Set interval before starting the clock timer

1 Like

It won't work as you expect.

it worked for me...

Try this

The notifier should show up "before" the delay starts, it doesn't.

The recommended approach: