How to make a specific task to run till the app is closed by the user

Hey I tried to keep on changing the back ground of my app UNTIL THE APP IS CLOSED BY THE USER , but I am not able to do that …

FOR THIS I HAVE USED A EXTENSION
LINK FOR THE EXTENSION : [Free] Animation Color background extension

image

pls help AND I AM waiting eagerly FOR YOU REPLIES

Hi!
You can do this:
Use a forever loop. Inside, place a change background color block to random color. When the app is closed, the color-changing will automatically stop.
Here’s the basic thing:


Screen Shot 2020-11-05 at 1.33.18 PM
Hope this helps!
Happy Thunking!

Hey Thank you So Much

But can we do the same me in MIT App Inventor ?

Pls reply
I am waiting for your reply eagerly…
Thank you

Ask AI2 questions on their forum. Don’t spam here.