Skip to content

Class · inherits LayerCollector

SurfaceGuiBase

Official docs ↗

Base class for containers that render GuiObjects onto a face of a BasePart in the 3D world.

About SurfaceGuiBase

SurfaceGuiBase is the LayerCollector base class for containers that render their GuiObject descendants onto a face of a BasePart in the 3D world. SurfaceGui and AdGui inherit from it.

The target part is set through the Adornee property; if no adornee is specified, the container renders on its parent when that parent is a BasePart. The Face property selects which surface of the part the UI is projected onto.

Properties 3

SurfaceGuiBase also has every member of LayerCollector. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.