How do you position content relative to the "safe area" on mobile?

I have a GUI scene in my game, and there are nodes at the top left and right corners of the scene. The problem is that on newer phones with a “notch” and rounded corners, these nodes get obscured. Is there a way to get the position from a safe area and use it to reposition GUI nodes, or better yet, the entire scene?

Would like a solution that works for both Android and iOS preferably.

This extension changes the view so it doesn’t cover the unsafe area on iOS I think?

So we still need a NE which can report the safe area for iOS/Android / this one needs to be modified to do that.

I’ve seen this one and it works, but it adds safe area constraints to the entire game, which causes black bars. I’m hoping for a solution that only adds constraints to the GUI.

You could possibly sponsor @sergey.lerg to make such an extension for yourself or the community if you feel generous. :slight_smile: