Skip to content
Roblox API Reference

UserGameSettings

UserGameSettings is a singleton class found inside of the UserSettings singleton. It holds various persistent settings relating to how the user wants to control their camera, and their character.
  • Not creatable
  • Not replicated
  • Service
Memory category
Instances
Own members
90
Inherited members
75
Subclasses
0
Siblings
608

Properties99

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byUserGameSettings76

Property categoryAppearance

  • UserGameSettings.GraphicsOptimizationMode: Enum.GraphicsOptimizationMode
    The graphics optimization mode used by the client to balance visual quality and performance.
    • Roblox script security
  • UserGameSettings.GraphicsQualityLevel: number
    The current graphics quality level being used by the client.
    • Roblox script security
  • UserGameSettings.MaxQualityEnabled: boolean
    Indicates whether the client's graphics quality is set to the maximum available level.
    • Roblox script security
  • UserGameSettings.SavedQualityLevel: Enum.SavedQualitySetting
    The graphics quality level set by the client.
    • Capabilities: Players

Property categoryConfiguration

  • UserGameSettings.gaID: string
    • Hidden
    • Not replicated
    • Not scriptable
    • Roblox script security

Property categoryControl

  • UserGameSettings.CameraMode: Enum.CustomCameraMode
    The custom camera mode currently in-use by the client.
    • Roblox script security
  • UserGameSettings.ComputerCameraMovementMode: Enum.ComputerCameraMovementMode
    The camera movement mode currently in-use by the client on desktop.
    • Capabilities: Input
  • UserGameSettings.ComputerMovementMode: Enum.ComputerMovementMode
    The type of controls being used by the client on desktop.
    • Capabilities: Input
  • UserGameSettings.ControlMode: Enum.ControlMode
    Toggles whether or not the client can use the Mouse Lock Switch mode.
    • Capabilities: Input
  • UserGameSettings.HapticStrength: number
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.RotationType: Enum.RotationType
    Controls how the client's character is rotated.
    • Capabilities: Input
  • UserGameSettings.TouchCameraMovementMode: Enum.TouchCameraMovementMode
    The camera type in-use by the client while on a mobile device.
    • Capabilities: Input
  • UserGameSettings.TouchMovementMode: Enum.TouchMovementMode
    The type of controls being used by the client on a mobile device.
    • Capabilities: Input
  • UserGameSettings.VRComfortSetting: Enum.VRComfortSetting
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.VRSafetyBubbleMode: Enum.VRSafetyBubbleMode
    • Hidden
    • Not replicated
    • Roblox script security

Property categoryData

  • UserGameSettings.AllTutorialsDisabled: boolean
    Indicates whether all in-game tutorials have been disabled by the user.
    • Roblox script security
  • UserGameSettings.BadgeVisible: boolean
    Indicates whether badge notifications are visible to the client.
    • Roblox script security
  • UserGameSettings.CameraYInverted: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.ChatTranslationEnabled: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.ChatTranslationFTUXShown: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.ChatTranslationLocale: string
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.ChatTranslationToggleEnabled: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.ChatVisible: boolean
    Indicates whether the in-game chat is visible to the client.
    • Roblox script security
  • UserGameSettings.CompletedTutorials: string
    • Hidden
    • Not scriptable
    • Roblox script security
  • UserGameSettings.ComputerCameraMovementChanged: boolean
    • Hidden
    • Not replicated
    • Not scriptable
    • Roblox engine security
  • UserGameSettings.ComputerMovementChanged: boolean
    • Hidden
    • Not replicated
    • Not scriptable
    • Roblox engine security
  • UserGameSettings.DefaultCameraID: string
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.FramerateCap: number
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.Fullscreen: boolean
    Indicates whether the client's window is currently in full screen mode.
    • Roblox script security
  • UserGameSettings.GamepadCameraSensitivity: number
    Describes how sensitive the camera is when using a gamepad.
    • Capabilities: Input
  • UserGameSettings.HasEverUsedVR: boolean
    Indicates whether the user has ever launched the client in VR mode.
    • Roblox script security
  • UserGameSettings.IsUsingCameraYInverted: boolean
    • Hidden
    • Read only
    • Roblox script security
    • Save only
  • UserGameSettings.IsUsingGamepadCameraSensitivity: boolean
    • Hidden
    • Read only
    • Roblox script security
    • Save only
  • UserGameSettings.MasterVolume: number
    A float between 0 and 1 representing the volume of the game's client.
    • Roblox script security
  • UserGameSettings.MasterVolumeStudio: number
    A float between 0 and 1 representing the master volume used in Roblox Studio.
    • Roblox script security
  • UserGameSettings.MicroProfilerWebServerEnabled: boolean
    • Hidden
    • Roblox script security
  • UserGameSettings.MicroProfilerWebServerIP: string
    • Hidden
    • Read only
    • Roblox script security
    • Save only
  • UserGameSettings.MicroProfilerWebServerPort: number
    • Hidden
    • Read only
    • Roblox script security
    • Save only
  • UserGameSettings.MouseSensitivity: number
    A float between 0 and 4 representing the sensitivity of the client's camera sensitivity.
    • Capabilities: Input
  • UserGameSettings.MouseSensitivityFirstPerson: Vector2
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.MouseSensitivityThirdPerson: Vector2
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.OnboardingsCompleted: string
    A comma-separated list of onboarding IDs that the user has completed.
    • Roblox script security
  • UserGameSettings.OnScreenProfilerEnabled: boolean
    • Hidden
    • Roblox script security
  • UserGameSettings.PartyVoiceVolume: number
    A float between 0 and 1 representing the volume of party voice chat.
    • Roblox script security
  • UserGameSettings.PeoplePageLayout: Enum.PeoplePageLayout
    The layout style used to display the people page in the in-game menu.
    • Roblox script security
  • UserGameSettings.PerformanceStatsVisible: boolean
    • Hidden
    • Roblox script security
  • UserGameSettings.PlayerHeight: number
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.PlayerListVisible: boolean
    Indicates whether the in-game player list is visible to the client.
    • Roblox script security
  • UserGameSettings.PlayerNamesEnabled: boolean
    Indicates whether player names are displayed above characters in the game.
    • Roblox script security
  • UserGameSettings.PreferredTextSize: Enum.PreferredTextSize
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.PreferredTransparency: number
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.QualityResetLevel: number
    • Hidden
    • Roblox script security
  • UserGameSettings.RCCProfilerRecordFrameRate: number
    Internal MicroProfiler setting specifying the frame rate used when capturing server-side RCC profiler data.
  • UserGameSettings.RCCProfilerRecordTimeFrame: number
    Internal MicroProfiler setting specifying the duration over which server-side RCC profiler data is captured.
  • UserGameSettings.ReadAloud: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.ReducedMotion: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.StartMaximized: boolean
    Indicates whether Roblox Studio should launch in a maximized window.
    • Not replicated
    • Not scriptable
    • Roblox script security
  • UserGameSettings.StartScreenPosition: Vector2
    The screen position of the client's window when the application launches.
    • Not replicated
    • Not scriptable
    • Roblox script security
  • UserGameSettings.StartScreenSize: Vector2
    The size of the client's window when the application launches.
    • Not replicated
    • Not scriptable
    • Roblox script security
  • UserGameSettings.StudioPreferredTextSize: Enum.PreferredTextSize
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.TouchCameraMovementChanged: boolean
    • Hidden
    • Not replicated
    • Not scriptable
    • Roblox engine security
  • UserGameSettings.TouchMovementChanged: boolean
    • Hidden
    • Not replicated
    • Not scriptable
    • Roblox engine security
  • UserGameSettings.UiNavigationKeyBindEnabled: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.UIScaleMultiplierHundredths: number
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.UsedCoreGuiIsVisibleToggle: boolean
    Indicates whether the user has toggled the visibility of core GUI elements.
    • Roblox script security
  • UserGameSettings.UsedCustomGuiIsVisibleToggle: boolean
    Indicates whether the user has toggled the visibility of custom GUI elements.
    • Roblox script security
  • UserGameSettings.UsedHideHudShortcut: boolean
    Indicates whether the user has used the keyboard shortcut for hiding the HUD.
    • Roblox script security
  • UserGameSettings.VignetteEnabled: boolean
    Indicates whether the VR vignette comfort effect is enabled.
    • Write: Roblox script security
  • UserGameSettings.VignetteEnabledCustomOption: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.VoiceChatVolume: number
    A float between 0 and 2 representing the volume of in-game voice chat.
    • Roblox script security
  • UserGameSettings.VREnabled: boolean
    Indicates whether the client is currently running in VR mode.
    • Roblox script security
  • UserGameSettings.VRRotationIntensity: number
    The intensity of camera rotation when turning in VR.
    • Roblox script security
  • UserGameSettings.VRSmoothRotationEnabled: boolean
    Indicates whether smooth rotation is used instead of snap rotation in VR.
    • Write: Roblox script security
  • UserGameSettings.VRSmoothRotationEnabledCustomOption: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.VRThirdPersonFollowCamEnabled: boolean
    • Hidden
    • Not replicated
    • Roblox script security
  • UserGameSettings.VRThirdPersonFollowCamEnabledCustomOption: boolean
    • Hidden
    • Not replicated
    • Roblox script security

Methods53

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
Defined byUserGameSettings11
  • UserGameSettings:GetCameraYInvertValue(): number
    Returns the camera's Y-invert value.
    • Capabilities: Input
    Returns
    TypeDescription
    number
    The camera's current Y-axis inversion multiplier.
  • UserGameSettings:GetDefaultFramerateCap(): number
    • Roblox script security
    Returns
    Type
    number
  • UserGameSettings:GetOnboardingCompleted(onboardingId: string): boolean
    Checks if onboarding has been completed.
    • Capabilities: Players
    Parameters
    ParameterDescription
    onboardingId: string
    The onboarding ID to inquire about.
    Returns
    TypeDescription
    boolean
    Whether or not the onboarding in particular has been completed yet.
  • UserGameSettings:GetTutorialState(tutorialId: string): boolean
    • Roblox script security
    Parameters
    Parameter
    tutorialId: string
    Returns
    Type
    boolean
  • UserGameSettings:InFullScreen(): boolean
    Returns true if the user's Roblox window is in full screen mode.
    • Capabilities: Players
    Returns
    TypeDescription
    boolean
    Whether the user's Roblox window is in full screen mode.
  • UserGameSettings:InStudioMode(): boolean
    Returns true if the client's game session is in Roblox Studio.
    • Capabilities: Players
    Returns
    TypeDescription
    boolean
    Whether the current client session is running in Roblox Studio.
  • UserGameSettings:ResetOnboardingCompleted(onboardingId: string)
    • Roblox script security
    Parameters
    Parameter
    onboardingId: string
  • UserGameSettings:SetCameraYInvertVisible()
    If called, Roblox toggles the menu option to invert the user's camera y axis.
    • Capabilities: Input
  • UserGameSettings:SetGamepadCameraSensitivityVisible()
    If called, Roblox toggles the menu option to control the camera sensitivity with gamepads.
    • Capabilities: Input
  • UserGameSettings:SetOnboardingCompleted(onboardingId: string)
    Sets onboarding as completed.
    • Capabilities: Players
    Parameters
    ParameterDescription
    onboardingId: string
    The onboarding ID to set as completed.
  • UserGameSettings:SetTutorialState(tutorialId: string, value: boolean)
    • Roblox script security
    Parameters
    Parameter
    tutorialId: string
    value: boolean

Events13

Inherited fromObject1
Inherited fromInstance9
Defined byUserGameSettings3
  • UserGameSettings.FullscreenChanged: RBXScriptSignal<(isFullscreen: boolean)>
    Fires if the user's full screen mode is changed.
    Parameters
    Parameter
    isFullscreen: boolean
  • UserGameSettings.PerformanceStatsVisibleChanged: RBXScriptSignal<(isPerformanceStatsVisible: boolean)>
    • Roblox script security
    Parameters
    Parameter
    isPerformanceStatsVisible: boolean
  • UserGameSettings.StudioModeChanged: RBXScriptSignal<(isStudioMode: boolean)>
    Fired when the user's client switches between Studio mode and in-game mode. This gets fired periodically in Roblox Studio when a session starts.
    Parameters
    Parameter
    isStudioMode: boolean