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

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

CameraTweenFocus

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

DraggerActiveColor

Roblox Script Security
Read Parallel

DraggerMajorGridIncrement

Roblox Script Security
Read Parallel

DraggerMaxSoftSnaps

Roblox Script Security
Read Parallel

DraggerPassiveColor

Roblox Script Security
Read Parallel

DraggerShowHoverRuler

Roblox Script Security
Read Parallel

DraggerShowMeasurement

Roblox Script Security
Read Parallel

DraggerShowTargetSnap

Roblox Script Security
Read Parallel

DraggerSoftSnapMarginFactor

Roblox Script Security
Read Parallel

DraggerSummonMarginFactor

Roblox Script Security
Read Parallel

DraggerTiltRotateDuration

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

Enable CoreScript Debugger

Read Parallel

Enable Http Sandboxing

Read Parallel

Enable Internal Beta Features

Read Parallel

Enable Internal Features

Read Parallel

Enable Script Analysis

Roblox Script Security
Read Parallel

Enable Scrollbar Markers

Roblox Script Security
Read Parallel

Enable Signature Help

Roblox Script Security
Read Parallel

Enable Signature Help Doc View

Roblox Script Security
Read Parallel

Enable Temporary Tabs

Read Parallel

Enable Temporary Tabs In Explorer

Read Parallel

Enable Type Hover

Roblox Script Security
Read Parallel

EnableCodeAssist

Roblox Script Security
Read Parallel

EnableIndentationRulers

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

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

Roblox Security
Read Parallel

Hover Line Thickness

Roblox Security
Read Parallel

Hover Over Color

Read Parallel

Specifies the color that the hover selection box uses.

IconOverrideDir

QDir
Roblox Script Security
Read Parallel

Indent Using Spaces

Read Parallel

IndentationRulerColor

Not Replicated
Roblox Script Security
Read Parallel

InformationColor

Not Replicated
Read Parallel

Keyword Color

Not Replicated
Read Parallel

Sets the text color of built-in Lua keywords.

LargeFileLineCountThreshold

Roblox Script Security
Read Parallel

LargeFileThreshold

Roblox Script Security
Read Parallel

Line Thickness

Read Parallel

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

LoadAllBuiltinPluginsInRunModes

Roblox Script Security
Read Parallel

LoadUserPluginsInRunModes

Roblox Script Security
Read Parallel

LocalAssetsFolder

QDir
Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

Pivot Snap To Geometry Color

Roblox Security
Read Parallel

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

Roblox Security
Read Parallel

ReloadLocalPluginsOnChange

Roblox Security
Read Parallel

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

Roblox Security
Read Parallel

Selection Color

Not Replicated
Read Parallel

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

Selection Line Thickness

Roblox Security
Read Parallel

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

Roblox Script Security
Read Parallel

Show Navigation Labels

Roblox Script Security
Read Parallel

Show Navigation Mesh

Read Parallel

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

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

Show Whitespace

Read Parallel

Show plus button on hover in Explorer

Read Parallel

ShowCorePackagesInExplorer

Roblox Script Security
Read Parallel

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

Roblox Script Security
Read Parallel

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.