ScreenInsets
Insets associated with various screen safe areas.
Items 4
History | Name | Value | Description | |
---|---|---|---|---|
553 | None | 0 | No insets are added to the fullscreen area. This mode may result in UI that is obscured or completely hidden by device notches and cutouts, so you should only use it for a ScreenGui that contains non‑interactive content like background images. | |
553 | DeviceSafeInsets | 1 | Device safe area insets are added to the fullscreen area. The resulting
area is guaranteed to not be occluded by any device screen cutouts
such as the camera notch, although no inset is added for Roblox core UI
elements like the top bar buttons. As a result, it's recommended that you
use | |
553 | CoreUISafeInsets | 2 | Core UI insets are added to the | |
596 | TopbarSafeInsets | 3 | Top bar safe area insets are added to the |
Description
This enum specifies screen edge insets that are associated with a particular screen safe area. The insets are relative to the fullscreen area, meaning the rectangular region that encompasses all visible pixels on the screen.
History 5
- 596 Add TopbarSafeInsets
- 553 Add None
- 553 Add DeviceSafeInsets
- 553 Add CoreUISafeInsets
- 553 Add ScreenInsets