PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

AlwaysOnTop

SurfaceGui

bool

Determines whether the SurfaceGui will render over top of 3D content, or
be occluded by it.

When set to false, the SurfaceGui will render like other 3D content, and
will be occluded by other 3D objects.

When set to true, it always renders on top of 3D content, and the
appearance changes significantly:

  • Colors match how they appear inside a ScreenGui.
  • Text may appear sharper on high DPI devices.
  • SurfaceGui/LightInfluence is treated as though it was 0.
  • SurfaceGui/Brightness has no effect.