A SurfaceGui is an Instance that can be added to any part. This class can display any UI element, for example TextLabels and TextButtons. This class was added on December 4, 2013.
Properties
AlwaysOnTop: bool
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
Brightness: float
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
CanvasSize: Vector2
- Category: Sizing.
- Serialization: can save and load.
- Thread safety: read safe
ClipsDescendants: bool
- Category: Behavior.
- Serialization: can save and load.
- Thread safety: read safe
HorizontalCurvature: float
- Category: Appearance.
- Read security: RobloxScriptSecurity.
- Write security: RobloxScriptSecurity.
- Serialization: cannot load or save.
- Thread safety: read safe
LightInfluence: float
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
MaxDistance: float
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
PixelsPerStud: float
- Category: Sizing.
- Serialization: can save and load.
- Thread safety: read safe
Shape: SurfaceGuiShape
- Category: Appearance.
- Read security: RobloxScriptSecurity.
- Write security: RobloxScriptSecurity.
- Serialization: cannot load or save.
- Thread safety: read safe
SizingMode: SurfaceGuiSizingMode
- Category: Sizing.
- Serialization: can save and load.
- Thread safety: read safe
ToolPunchThroughDistance: float
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
ZOffset: float
- Category: Appearance.
- Serialization: can save and load.
- Thread safety: read safe
Removed members
Properties
External links
- SurfaceGui in the Roblox Creator Documentation
- SurfaceGui in the Roblox API Reference