Check if widget is visible / on screen

How do we check if a Widget is currently on the screen before we “Remove from Parent?”

If true, remove.
If false, do nothing.

Thanks!

3 Likes