(app) Closing sensor

Hi my question is:
In the appinventor, how can you determine that the application has been placed in the back, that is, it has not been closed, but it is running in the background

What about the default onPaused and onResumed events for screen?

there are no such events available in MIT App Inventor
it looks like you are using Kodular...


My bad. I apologies.