ScreenGui

Show Deprecated

ScreenGui is a storage container for 2D GuiObjects displayed on the user's screen. A ScreenGui only shows if parented to a player's PlayerGui; parenting a ScreenGui to StarterGui ensures it clones into each player's PlayerGui when they join the experience and their character first spawns. See On‑Screen UI Containers for further details.

Example ScreenGui with various GuiObject children, including a Frame, TextLabel, TextBox, and ImageButton.

For performance improvements, the appearance of a ScreenGui is cached until one of the following events occurs:

  • A descendant is added to or removed from it.
  • A property of a descendant changes.
  • A property of the ScreenGui itself changes.

If any of these events occur, the ScreenGui appearance is recomputed on the next frame it gets rendered.

Summary

Properties

Properties inherited from LayerCollector

Properties

Properties inherited from GuiBase2d

Properties

Events

Events inherited from GuiBase2d

Events

Properties

ClipToDeviceSafeArea

Read Parallel

DisplayOrder

Read Parallel

IgnoreGuiInset

Not Replicated
Read Parallel

SafeAreaCompatibility

Read Parallel

ScreenInsets

Read Parallel

Methods

Events