Reference API Roblox

Engine API

Website

Related

Reference API Roblox

SurfaceGui

Summary

Member index 12

HistoryMember
553AlwaysOnTop: bool
553Brightness: float
553CanvasSize: Vector2
553ClipsDescendants: bool
553LightInfluence: float
592MaxDistance: float
553PixelsPerStud: float
553SizingMode: SurfaceGuiSizingMode
553ToolPunchThroughDistance: float
553ZOffset: float
inherited from SurfaceGuiBase
553Active: bool
553Adornee: Instance
553Face: NormalId
inherited from LayerCollector
553Enabled: bool
553ResetOnSpawn: bool
553ZIndexBehavior: ZIndexBehavior
622GetGuiObjectsAtPosition(x: int, y: int): Objects
462GetLayoutNodeTree(): Dictionary
inherited from GuiBase2d
553AbsolutePosition: Vector2
553AbsoluteRotation: float
553AbsoluteSize: Vector2
553AutoLocalize: bool
553RootLocalizationTable: LocalizationTable
553SelectionBehaviorDown: SelectionBehavior
553SelectionBehaviorLeft: SelectionBehavior
553SelectionBehaviorRight: SelectionBehavior
553SelectionBehaviorUp: SelectionBehavior
553SelectionGroup: bool
525SelectionChanged(amISelected: bool, previousSelection: GuiObject, newSelection: GuiObject)
inherited from Instance
553Archivable: bool
619Capabilities: SecurityCapabilities
553ClassName: string
553Name: string
553Parent: Instance
619Sandboxed: bool
616UniqueId: UniqueId
553className: string
576AddTag(tag: string): null
573ClearAllChildren(): null
462Clone(): Instance
573Destroy(): null
486FindFirstAncestor(name: string): Instance
486FindFirstAncestorOfClass(className: string): Instance
486FindFirstAncestorWhichIsA(className: string): Instance
486FindFirstChild(name: string, recursive: bool = false): Instance
486FindFirstChildOfClass(className: string): Instance
486FindFirstChildWhichIsA(className: string, recursive: bool = false): Instance
486FindFirstDescendant(name: string): Instance
563GetActor(): Actor
486GetAttribute(attribute: string): Variant
462GetAttributeChangedSignal(attribute: string): RBXScriptSignal
486GetAttributes(): Dictionary
486GetChildren(): Objects
462GetDebugId(scopeLength: int = 4): string
486GetDescendants(): Array
486GetFullName(): string
462GetPropertyChangedSignal(property: string): RBXScriptSignal
576GetTags(): Array
576HasTag(tag: string): bool
486IsA(className: string): bool
486IsAncestorOf(descendant: Instance): bool
486IsDescendantOf(ancestor: Instance): bool
580IsPropertyModified(name: string): bool
573Remove(): null
576RemoveTag(tag: string): null
580ResetPropertyToDefault(name: string): null
573SetAttribute(attribute: string, value: Variant): null
462WaitForChild(childName: string, timeOut: double): Instance
553children(): Objects
553clone(): Instance
573destroy(): null
553findFirstChild(name: string, recursive: bool = false): Instance
553getChildren(): Objects
462isA(className: string): bool
553isDescendantOf(ancestor: Instance): bool
573remove(): null
462AncestryChanged(child: Instance, parent: Instance)
462AttributeChanged(attribute: string)
462Changed(property: string)
462ChildAdded(child: Instance)
462ChildRemoved(child: Instance)
462DescendantAdded(descendant: Instance)
462DescendantRemoving(descendant: Instance)
500Destroying()
553childAdded(child: Instance)

Removed member index 4

HistoryMember
540Active: bool
540Adornee: Instance
310Enabled: bool
540Face: NormalId

History 60

Members 12

AlwaysOnTop

TypeDefault
boolfalse

History 4

Brightness

TypeDefault
float1

History 4

CanvasSize

TypeDefault
Vector2800, 600

History 5

ClipsDescendants

TypeDefault
boolfalse

History 4

LightInfluence

TypeDefault
float0

History 4

MaxDistance

TypeDefault
float0

History 2

PixelsPerStud

TypeDefault
float50

History 4

SizingMode

TypeDefault
SurfaceGuiSizingModeFixedSize

History 4

ToolPunchThroughDistance

TypeDefault
float0

History 4

ZOffset

TypeDefault
float0

History 4

Removed members 4

Active

TypeDefault
bool

History 4

Adornee

TypeDefault
Instance

History 5

Enabled

TypeDefault
bool

History 4

Face

TypeDefault
NormalId

History 4

Settings