If see the screen

Hi, I’m working on an app that should show push notifications (via the Notify extension) and I wanted to know if there was a function like "IF you’re looking at the screen don’t show the notification, IF you’re not looking at the screen show notification "(when the app remains open in the task manager). Is present? Thanks in advance.

App Inventor doesn’t have a tool to determine if anyone is looking at the screen. Sorry, no function like that. :wink: