Studio

Show Deprecated
Not Creatable
Service
Not Replicated

The Studio object is a settings object that is exclusive to Roblox Studio. It can be found in Roblox Studio's settings under the Studio tab.

Summary

Properties

Methods

Properties

"TODO" Color

Not Replicated
Read Parallel

"function" Color

Not Replicated
Read Parallel

"local" Color

Not Replicated
Read Parallel

"nil" Color

Not Replicated
Read Parallel

"self" Color

Not Replicated
Read Parallel

ActionOnStopSync

Read Parallel

Active Color

Read Parallel

Active Hover Over Color

Read Parallel

Always Save Script Changes

Read Parallel

If set to true, Roblox Studio will attempt to transfer script changes that were made during a Play Solo session to the opened place.

Animate Hover Over

Read Parallel

If set to true, the hover selection box that is shown when mousing over selectable objects in the Workspace will flash between Hover Over Color and Select Color based on the Hover Animate Speed.

Auto Clean Empty Line

Read Parallel

Auto Closing Brackets

Read Parallel

Auto Closing Quotes

Read Parallel

Auto Delete Closing Brackets and Quotes

Read Parallel

Auto Indent Rule

Read Parallel

Auto-Recovery Enabled

Read Parallel

Auto-Recovery Interval (Minutes)

Read Parallel

Automatically trigger AI Code Completion

Read Parallel
Roblox Script Security

Background Color

Not Replicated
Read Parallel

Specifies the background color of Roblox Studio's script editor.

Basic Objects Display Mode

Read Parallel

Sets the scrolling mode of the Advanced Objects tab in Roblox Studio.

Bool Color

Not Replicated
Read Parallel

Bracket Color

Not Replicated
Read Parallel

Built-in Function Color

Not Replicated
Read Parallel

Sets the color of built-in functions and keywords in the script editor.

Camera Mouse Wheel Speed

Read Parallel

Sets how many studs the camera will move forward or backwards when using the mouse wheel.

Camera Pan Speed

Read Parallel
Roblox Script Security

Camera Shift Speed

Read Parallel

Sets the speed in studs/sec that the camera moves while holding down Shift with the movement keys.

Camera Speed

Read Parallel

Sets the speed in studs/sec that the camera moves when movement keys are pressed.

Camera Speed Adjust Binding

Read Parallel

Camera Zoom to Mouse Position

Read Parallel

CameraAdaptiveSpeed

Read Parallel
Roblox Script Security

CameraTweenFocus

Read Parallel
Roblox Script Security

Clear Output On Start

Read Parallel

If set to true, the output will be automatically cleared when game sessions are switched.

CommandBarLocalState

Read Parallel

Comment Color

Not Replicated
Read Parallel

Specifies the color of comments in Roblox Studio's script editor.

Current Line Highlight Color

Not Replicated
Read Parallel

Debugger Current Line Color

Not Replicated
Read Parallel

Debugger Error Line Color

Not Replicated
Read Parallel

DefaultScriptFileDir

QDir
Read Parallel

Specifies the default prompt directory that will be opened when the user activates the Execute Script button in Roblox Studio.

DeprecatedObjectsShown

Read Parallel

If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.

DisplayLanguage

Read Parallel
Roblox Script Security

DraggerActiveColor

Read Parallel
Roblox Script Security

DraggerMajorGridIncrement

Read Parallel
Roblox Script Security

DraggerMaxSoftSnaps

Read Parallel
Roblox Script Security

DraggerPassiveColor

Read Parallel
Roblox Script Security

DraggerShowHoverRuler

Read Parallel
Roblox Script Security

DraggerShowMeasurement

Read Parallel
Roblox Script Security

DraggerShowTargetSnap

Read Parallel
Roblox Script Security

DraggerSoftSnapMarginFactor

Read Parallel
Roblox Script Security

DraggerSummonMarginFactor

Read Parallel
Roblox Script Security

DraggerTiltRotateDuration

Read Parallel
Roblox Script Security

Enable Autocomplete

Read Parallel

When set to true, the script editor and command bar will show an autocomplete menu while writing.

Enable Autocomplete Doc View

Read Parallel
Roblox Script Security

Enable CoreScript Debugger

Read Parallel

Enable Http Sandboxing

Read Parallel

Enable Internal Beta Features

Read Parallel

Enable Internal Features

Read Parallel

Enable Script Analysis

Read Parallel
Roblox Script Security

Enable Scrollbar Markers

Read Parallel
Roblox Script Security

Enable Signature Help

Read Parallel
Roblox Script Security

Enable Signature Help Doc View

Read Parallel
Roblox Script Security

Enable Temporary Tabs

Read Parallel

Enable Temporary Tabs In Explorer

Read Parallel

Enable Type Hover

Read Parallel
Roblox Script Security

EnableCodeAssist

Read Parallel
Roblox Script Security

EnableIndentationRulers

Read Parallel
Roblox Script Security

Error Color

Not Replicated
Read Parallel

Specifies the color of the wavy underline shown when malformed code is detected in the script editor.

Find Selection Background Color

Not Replicated
Read Parallel

Sets the highlight color of matches in the script editor's Find Selection operation (Ctrl+F).

Font

QFont
Read Parallel

Specifies the font used in the script editor.

Format On Paste

Read Parallel

Format On Type

Read Parallel

FreeCameraSpeedScroll

Read Parallel
Roblox Script Security

Function Name Color

Not Replicated
Read Parallel

Highlight Current Line

Read Parallel

Highlight Occurances

Read Parallel

HintColor

Not Replicated
Read Parallel

Hover Animate Speed

Read Parallel

Specifies how frequently the hover animation flashes when the mouse is hovering over a selectable object in the Workspace.

Hover Box Thickness

Read Parallel
Roblox Security

Hover Line Thickness

Read Parallel
Roblox Security

Hover Over Color

Read Parallel

Specifies the color that the hover selection box uses.

IconOverrideDir

QDir
Read Parallel
Roblox Script Security

Indent Using Spaces

Read Parallel

IndentationRulerColor

Not Replicated
Read Parallel
Roblox Script Security

InformationColor

Not Replicated
Read Parallel

Keyword Color

Not Replicated
Read Parallel

Sets the text color of built-in Lua keywords.

LargeFileLineCountThreshold

Read Parallel
Roblox Script Security

LargeFileThreshold

Read Parallel
Roblox Script Security

Line Thickness

Read Parallel

Sets the thickness of the Model.PrimaryPart selection adornee. This value is constrained between 0 and 0.05.

LoadAllBuiltinPluginsInRunModes

Read Parallel
Roblox Script Security

LoadUserPluginsInRunModes

Read Parallel
Roblox Script Security

LocalAssetsFolder

QDir
Read Parallel
Roblox Script Security

LuaDebuggerEnabled

Read Parallel

Specifies whether or not the Lua Debugger feature is enabled.

LuaDebuggerEnabledAtStartup

Hidden
Read Only
Not Replicated
Read Parallel

Luau Keyword Color

Not Replicated
Read Parallel

Main Volume

Read Parallel
Roblox Script Security

Matching Word Background Color

Not Replicated
Read Parallel

Sets the highlight color of double-clicked variables in the script editor.

Maximum Output Lines

Read Parallel

The maximum number of lines that can be displayed in the output.

Not Replicated
Read Parallel

Method Color

Not Replicated
Read Parallel

Number Color

Not Replicated
Read Parallel

Specifies the color of numbers in Roblox Studio's script editor.

Only Play Audio from Window in Focus

Read Parallel

If set to true, audio being played will only be heard if the game window is being focused on.

Operator Color

Not Replicated
Read Parallel

Sets the text color of operator characters in the script editor.

Output Font

QFont
Read Parallel

Specifies the font used by the output.

Output Layout Mode

Read Parallel

Sets the layout mode of the output.

PermissionLevelShown

Read Parallel

Sets the highest permission level that APIs have to have in order to be shown in the Object Browser. See Enum.PermissionLevelShown for more info.

Physical Draggers Select Scope By Default

Read Parallel
Roblox Script Security

Pivot Snap To Geometry Color

Read Parallel
Roblox Security

PluginDebuggingEnabled

Read Parallel

PluginsDir

QDir
Read Parallel

The directory where local plugins are stored.

Primary Text Color

Not Replicated
Read Parallel

Property Color

Not Replicated
Read Parallel

ReloadBuiltinPluginsOnChange

Read Parallel
Roblox Security

ReloadLocalPluginsOnChange

Read Parallel
Roblox Security

Respect Studio shortcuts when game has focus

Read Parallel

When set to true, Roblox Studio shortcuts will take priority over inputs being captured in the game window.

Ruler Color

Not Replicated
Read Parallel

Rulers

Read Parallel

RuntimeUndoBehavior

Read Parallel

Script Editor Color Preset

Read Parallel

Script Editor Scrollbar Background Color

Not Replicated
Read Parallel

Script Editor Scrollbar Handle Color

Not Replicated
Read Parallel

ScriptTimeoutLength

Read Parallel

The time (in seconds) a script can wait to be resumed before timing out.

Scroll Past Last Line

Read Parallel

Secondary Text Color

Not Replicated
Read Parallel

Select Color

Read Parallel

The color of the selection box used with object selections in the Workspace

Select/Hover Color

Read Parallel

Sets the color of the Model.PrimaryPart selection box.

Selected Menu Item Background Color

Not Replicated
Read Parallel

Selected Text Color

Not Replicated
Read Parallel

Selection Background Color

Not Replicated
Read Parallel

Sets the background color of selected text in the script editor.

Selection Box Thickness

Read Parallel
Roblox Security

Selection Color

Not Replicated
Read Parallel

Sets the text color of selected text in the script editor.

Selection Line Thickness

Read Parallel
Roblox Security

Set Pivot of Imported Parts

Read Parallel

Show Core GUI in Explorer while Playing

Read Parallel

If set to true, the CoreGui will be visible in the Explorer while the game is running.

Show Diagnostics Bar

Read Parallel

If set to true, basic diagnostic information is shown in the bottom right.

Show FileSyncService

Read Parallel

Show Hidden Objects in Explorer

Read Parallel

Show Hover Over

Read Parallel

If set to true, hovering over an object in the Workspace will show a selection box.

Show Light Guides

Read Parallel
Roblox Script Security

Show Navigation Labels

Read Parallel
Roblox Script Security

Show Navigation Mesh

Read Parallel

When set to true, the navigation mesh used by the PathfindingService will be visualized.

Read Parallel
Roblox Script Security

Show Plugin GUI Service in Explorer

Read Parallel

When set to true, the PluginGuiService will be shown in Roblox Studio's explorer.

Show Singly Selected Attachment Parent Frame

Read Parallel
Roblox Script Security

Show Whitespace

Read Parallel

Show plus button on hover in Explorer

Read Parallel

ShowCorePackagesInExplorer

Read Parallel
Roblox Script Security

Skip Closing Brackets and Quotes

Read Parallel

String Color

Not Replicated
Read Parallel

Specifies the color of strings in the script editor.

Tab Width

Read Parallel

Specifies how many spaces are used to represent a tab in the script editor.

Text Color

Not Replicated
Read Parallel

Specifies the color of normal text in the script editor.

Text Wrapping

Read Parallel

If set to true, text in the script editor will be wrapped.

Read Parallel

The Theme property is used to get/set the current StudioTheme used by Studio.

This is intended for use within Plugins, but will also execute in the Command Line. You can access the function via:


settings().Studio.Theme

For instance, if you would like to print the current Studio theme:


print("The current Studio theme is:", settings().Studio.Theme)

Use Bounding Box Move Handles

Read Parallel
Roblox Script Security

Warning Color

Not Replicated
Read Parallel

Specifies the color of the wavy underline shown when the script analyzer picks up a problem that should be addressed in the script editor.

Whitespace Color

Not Replicated
Read Parallel

Methods

GetAvailableThemes

Plugin Security

The GetAvailableThemes() function returns a list of StudioThemes available in Studio. You can access the function via:


settings().Studio:GetAvailableThemes()

Returns

A list of themes available in Studio.

Code Samples

Output Studio Themes

local themes = settings().Studio:GetAvailableThemes()
for _, theme in pairs(themes) do
print(theme)
end

Events

ThemeChanged

Plugin Security

The ThemeChanged event fires when Studio's Theme changes. The best use of this event is to get the colors from the theme that changed and update your plugin's UI accordingly.