Skip to content
Roblox API Reference

StarterGui

A container for LayerCollector objects to be copied into the PlayerGui of Players. Also provides a range of functions for interacting with the CoreGui.
  • Not creatable
  • Service
Memory category
Instances
Own members
16
Inherited members
77
Subclasses
0
Siblings
3

Properties32

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byStarterGui9

Property categoryBehavior

  • StarterGui.ClipsDescendantsSupportsRotation: Enum.RolloutState
    Determines whether the ClipsDescendants property of a GuiObject clips rotated descendants.
    • Not scriptable
    • Capabilities: UI
  • StarterGui.ProcessUserInput: boolean
    Allows this service to process input like PlayerGui and CoreGui do.
    • Hidden
    • Not replicated
    • Plugin security
    • Read capabilities: UI
  • StarterGui.RtlTextSupport: Enum.RtlTextSupport
    Controls whether right-to-left (RTL) text layout is enabled for text in GuiObjects throughout the experience.
    • Not scriptable
    • Read capabilities: UI
  • StarterGui.VirtualCursorMode: Enum.VirtualCursorMode
    Controls whether the gamepad virtual cursor is enabled for navigating GuiObjects with a controller.
    • Not scriptable
    • Read capabilities: UI

Property categoryData

  • StarterGui.ScreenOrientation: Enum.ScreenOrientation
    Sets the default screen orientation mode for users with mobile devices.
    • Read capabilities: UI
  • StarterGui.ShowDevelopmentGui: boolean
    Determines whether the contents of StarterGui is visible in Studio.
    • Read capabilities: UI
  • StarterGui.StudioDefaultStyleSheet: StyleSheet
    • Hidden
    • Roblox script security
    • Read capabilities: UI
  • StarterGui.StudioInsertWidgetLayerCollectorAutoLinkStyleSheet: StyleSheet
    • Hidden
    • Roblox script security
    • Read capabilities: UI
  • StarterGui.ResetPlayerGuiOnSpawn: boolean
    Deprecated: This property is deprecated. Use LayerCollector.ResetOnSpawn to control the resetting behavior for individual LayerCollector objects.
    Determines whether each child parented to the StarterGui will be cloned into a player's PlayerGui when that player's character is respawned.
    • Deprecated
    • Read capabilities: UI

Methods50

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Inherited fromBasePlayerGui2
Defined byStarterGui6
  • StarterGui:GetCore(parameterName: string): any
    Returns a variable that has been specified by a Roblox core script.
    • Yields
    • Capabilities: UI
    Parameters
    ParameterDescription
    parameterName: string
    The name of the core parameter to retrieve, such as "PointsNotificationsActive" or "ChatActive".
    Returns
    TypeDescription
    any
    The value associated with the specified core parameter name, whose type depends on the parameter queried.
  • StarterGui:GetCoreGuiEnabled(coreGuiType: Enum.CoreGuiType): boolean
    Returns whether the given CoreGuiTypeis enabled, or if it has been disabled using StarterGui:SetCoreGuiEnabled().
    • Capabilities: UI
    Parameters
    ParameterDescription
    coreGuiType: Enum.CoreGuiType
    The given CoreGuiType.
    Returns
    TypeDescription
    boolean
    Whether the given CoreGuiType is enabled.
  • StarterGui:RegisterGetCore(parameterName: string,getFunction: (...any) -> ...any,)
    • Roblox script security
    • Capabilities: UI
    Parameters
    Parameter
    parameterName: string
    getFunction: (...any) -> ...any
  • StarterGui:RegisterSetCore(parameterName: string,setFunction: (...any) -> ...any,)
    • Roblox script security
    • Capabilities: UI
    Parameters
    Parameter
    parameterName: string
    setFunction: (...any) -> ...any
  • StarterGui:SetCore(parameterName: string, value: any)
    Allows you to perform certain interactions with Roblox's core scripts.
    • Capabilities: UI
    Parameters
    ParameterDescription
    parameterName: string
    Selects the functionality with which the call will interact.
    value: any
    A table of BindableEvents and BindableFunctions.
  • StarterGui:SetCoreGuiEnabled(coreGuiType: Enum.CoreGuiType, enabled: boolean)
    Sets whether the CoreGui element associated with the given CoreGuiType is enabled or disabled.
    • Capabilities: UI
    Parameters
    ParameterDescription
    coreGuiType: Enum.CoreGuiType
    The given CoreGuiType.
    enabled: boolean
    Whether to enable or disable the given CoreGuiType.

Events11

Inherited fromObject1
Inherited fromInstance9
Defined byStarterGui1