Enum
SafeAreaCompatibility
Describes how descendants of a ScreenGui adapt to screens with
cutouts.
This enum describes the automatic compatibility transformations that apply to
descendant "fullscreen" GuiObjects of a ScreenGui on
displays with screen cutouts.
Items 2#
| Name | Value | Summary |
|---|---|---|
None | 0 | Do not apply compatibility transformations to any descendants of the
ScreenGui. |
FullscreenExtension | 1 | If the total area of any descendant GuiObject within the
ScreenGui (including any applied border or UIStroke)
covers the device's safe area both horizontally and vertically, its
background area will be expanded to cover the fullscreen area. This
expansion does not affect the size or position of the descendant's
content, except in the case of ImageLabel,
ImageButton, or VideoFrame where the image/video is
considered part of the background and will be expanded to fullscreen.
Note that this option is intended to automatically improve the appearance
of UI that was authored for screens without any cutouts. However, it's
recommended that you avoid fullscreen extensions for new work; instead,
use the |