A routine/process that runs all the time within screens

Hi, all.

I’d like to know how to have a routine/process running ALL THE TIME, no matter which screen is currently on, without repeating blocks related to the routine in EACH screen.


I think the best way is to run the procedure in each screen using tinyDB, does the procedure have a lot of blocks?