Detect Other Apps open in the front or background

Hello everyone,

I am new to the MIT App Inventor and I am currently trying to build a simple application that can run and that periodically checks which other apps are open.
I know in studio I would need a helper function to do so, but I am wondering if with MIT App inventor there is a way to do so.

Thank you!

Why not just press the “Square” button on your device ?