SurfaceGuiBase

SurfaceGuiBase : LayerCollector

Properties

Active

bool

Active is a boolean property controlling the visibility or enablement of the widget component, representing whether it is currently active.

Code Samples

Adornee

Instance

specifies the part or model to which the GUI is attached.

Code Samples

local SurfaceGui = script.Parent

print(SurfaceGui.Adornee)

Face

Enum.NormalId

Enum.NormalId

Face specifies which face of the 3D object the GUI will be displayed on. This property allows the developer to set the orientation of the GUI relative to the attached part or model in the 3D environment. Typical values for this property include Enum.NormalId.Front, Enum.NormalId.Back, Enum.NormalId.Top, Enum.NormalId.Bottom, Enum.NormalId.Left, or Enum.NormalId.Right. It ensures precise placement of GUI elements on the desired surface.

Code Samples

Methods

Events

Last updated