Service · inherits Instance
Studio
Represents Roblox Studio's script editor settings.
About Studio
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.
Properties 108
"function" Color
: Color3PluginNotReplicatedSets the color of thefunctionkeyword in the script editor.Sets the color of the
functionkeyword in the script editor. This must be set in Studio Settings > Studio tab."local" Color
: Color3PluginNotReplicatedSets the color of thelocalkeyword in the script editor.Sets the color of the
localkeyword in the script editor. This must be set in Studio Settings > Studio tab."nil" Color
: Color3PluginNotReplicatedSets the color of thenilkeyword in the script editor.Sets the color of the
nilkeyword in the script editor. This must be set in Studio Settings > Studio tab."self" Color
: Color3PluginNotReplicatedSets the color of theselfkeyword in the script editor.Sets the color of the
selfkeyword in the script editor. This must be set in Studio Settings > Studio tab."TODO" Color
: Color3PluginNotReplicatedSets the color of TODO comments in the script editor.Sets the color of TODO comments in the script editor. This must be set in Studio Settings > Studio tab.
ActionOnStopSync
: ActionOnStopSyncPluginSets the action Studio takes when stopping file sync.Sets the action Studio takes when stopping file sync. This must be set in Studio Settings > Studio tab.
Active Color
: Color3PluginSets the color of active UI elements in Studio.Sets the color of active UI elements in Studio. This must be set in Studio Settings > Studio tab.
Active Hover Over Color
: Color3PluginSets the color of active UI elements when hovered in Studio.Sets the color of active UI elements when hovered in Studio. This must be set in Studio Settings > Studio tab.
Always Save Script Changes
: booleanPluginIf 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
: booleanPluginIf set to true, the hover selection box that is shown when mousing over selectable objects in theWorkspacewill flash betweenHover Over ColorandSelect Colorbased on theHover Animate Speed.Auto Clean Empty Line
: booleanPluginControls whether trailing whitespace is automatically removed from empty lines in the script editor.Controls whether trailing whitespace is automatically removed from empty lines in the script editor. This must be set in Studio Settings > Studio tab.
Auto Closing Brackets
: booleanPluginControls whether the script editor automatically inserts a matching closing bracket.Controls whether the script editor automatically inserts a matching closing bracket. This must be set in Studio Settings > Studio tab.
Auto Closing Quotes
: booleanPluginControls whether the script editor automatically inserts a matching closing quote.Controls whether the script editor automatically inserts a matching closing quote. This must be set in Studio Settings > Studio tab.
Auto Delete Closing Brackets and Quotes
: booleanPluginControls whether deleting an opening bracket or quote also removes its closing counterpart.Controls whether deleting an opening bracket or quote also removes its closing counterpart. This must be set in Studio Settings > Studio tab.
Auto Indent Rule
: AutoIndentRulePluginSets the rule used to determine automatic indentation in the script editor.Sets the rule used to determine automatic indentation in the script editor. This must be set in Studio Settings > Studio tab.
Auto-Recovery Enabled
: booleanPluginControls whether Studio automatically saves recovery files at a set interval.Controls whether Studio automatically saves recovery files at a set interval. This must be set in Studio Settings > Studio tab.
Auto-Recovery Interval (Minutes)
: intPluginSets the interval in minutes at which Studio saves auto-recovery files.Sets the interval in minutes at which Studio saves auto-recovery files. This must be set in Studio Settings > Studio tab.
Background Color
: Color3PluginNotReplicatedSpecifies the background color of Roblox Studio's script editor.Basic Objects Display Mode
: ListDisplayModePluginSets the scrolling mode of theAdvanced Objectstab in Roblox Studio.Bool Color
: Color3PluginNotReplicatedSets the color of boolean literals in the script editor.Sets the color of boolean literals in the script editor. This must be set in Studio Settings > Studio tab.
Bracket Color
: Color3PluginNotReplicatedSets the color of brackets in the script editor.Sets the color of brackets in the script editor. This must be set in Studio Settings > Studio tab.
Built-in Function Color
: Color3PluginNotReplicatedSets the color of built-in functions and keywords in the script editor.Camera Mouse Wheel Speed
: floatPluginSets how many studs the camera will move forward or backwards when using the mouse wheel.Camera Shift Speed
: floatPluginSets the speed in studs/sec that the camera moves while holding down Shift with the movement keys.Camera Speed
: floatPluginSets the speed in studs/sec that the camera moves when movement keys are pressed.Camera Zoom to Mouse Position
: booleanPluginControls whether the camera zooms toward the mouse cursor position.Controls whether the camera zooms toward the mouse cursor position. This must be set in Studio Settings > Studio tab.
Clear Output On Start
: booleanPluginIf set to true, the output will be automatically cleared when game sessions are switched.CommandBarLocalState
: booleanPluginControls whether the command bar retains its input state between sessions.Controls whether the command bar retains its input state between sessions. This must be set in Studio Settings > Studio tab.
Comment Color
: Color3PluginNotReplicatedSpecifies the color of comments in Roblox Studio's script editor.Current Line Highlight Color
: Color3PluginNotReplicatedSets the color of the current line highlight in the script editor.Sets the color of the current line highlight in the script editor. This must be set in Studio Settings > Studio tab.
Debugger Current Line Color
: Color3PluginNotReplicatedSets the color of the current debugger line in the script editor.Sets the color of the current debugger line in the script editor. This must be set in Studio Settings > Studio tab.
Debugger Error Line Color
: Color3PluginNotReplicatedSets the color of debugger error lines in the script editor.Sets the color of debugger error lines in the script editor. This must be set in Studio Settings > Studio tab.
DeprecatedObjectsShown
: booleanPluginIf set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.Enable Autocomplete
: booleanPluginWhen set to true, the script editor and command bar will show an autocomplete menu while writing.Enable CoreScript Debugger
: booleanPluginControls whether the CoreScript debugger is available in Studio.Controls whether the CoreScript debugger is available in Studio. This must be set in Studio Settings > Studio tab.
Enable Http Sandboxing
: booleanPluginControls whether HTTP requests from plugins are sandboxed.Controls whether HTTP requests from plugins are sandboxed. This must be set in Studio Settings > Studio tab.
Enable Internal Beta Features
: booleanPluginControls whether internal beta features are accessible in Studio.Controls whether internal beta features are accessible in Studio. This must be set in Studio Settings > Studio tab.
Enable Internal Features
: booleanPluginControls whether internal developer features are accessible in Studio.Controls whether internal developer features are accessible in Studio. This must be set in Studio Settings > Studio tab.
Enable Temporary Tabs
: booleanPluginControls whether opening a script creates a temporary tab that is replaced on the next open.Controls whether opening a script creates a temporary tab that is replaced on the next open. This must be set in Studio Settings > Studio tab.
Enable Temporary Tabs In Explorer
: booleanPluginControls whether clicking a script in the Explorer opens it in a temporary tab.Controls whether clicking a script in the Explorer opens it in a temporary tab. This must be set in Studio Settings > Studio tab.
Error Color
: Color3PluginNotReplicatedSpecifies the color of the wavy underline shown when malformed code is detected in the script editor.Find Selection Background Color
: Color3PluginNotReplicatedSets the highlight color of matches in the script editor's Find Selection operation (Ctrl+F).Font
: QFontPluginSpecifies the font used in the script editor.Format On Paste
: booleanPluginControls whether pasted code is automatically formatted in the script editor.Controls whether pasted code is automatically formatted in the script editor. This must be set in Studio Settings > Studio tab.
Format On Type
: booleanPluginControls whether code is automatically formatted as you type in the script editor.Controls whether code is automatically formatted as you type in the script editor. This must be set in Studio Settings > Studio tab.
Function Name Color
: Color3PluginNotReplicatedSets the color of function names in the script editor.Sets the color of function names in the script editor. This must be set in Studio Settings > Studio tab.
Highlight Current Line
: booleanPluginControls whether the current line is highlighted in the script editor.Controls whether the current line is highlighted in the script editor. This must be set in Studio Settings > Studio tab.
Highlight Occurances
: booleanPluginControls whether other occurrences of the word under the cursor are highlighted.Controls whether other occurrences of the word under the cursor are highlighted. This must be set in Studio Settings > Studio tab.
HintColor
: Color3PluginNotReplicatedSets the color of hint diagnostics in the script editor.Sets the color of hint diagnostics in the script editor. This must be set in Studio Settings > Studio tab.
Hover Animate Speed
: HoverAnimateSpeedPluginSpecifies how frequently the hover animation flashes when the mouse is hovering over a selectable object in theWorkspace.Hover Over Color
: Color3PluginSpecifies the color that the hover selection box uses.Indent Using Spaces
: booleanPluginControls whether the script editor uses spaces instead of tabs for indentation.Controls whether the script editor uses spaces instead of tabs for indentation. This must be set in Studio Settings > Studio tab.
InformationColor
: Color3PluginNotReplicatedSets the color of information diagnostics in the script editor.Sets the color of information diagnostics in the script editor. This must be set in Studio Settings > Studio tab.
Keyword Color
: Color3PluginNotReplicatedSets the text color of built-in Luau keywords.Line Thickness
: floatPluginSets the thickness of theModel.PrimaryPartselection adornee. This value is constrained between 0 and 0.05.LocalAssetsFolder
: QDirSets the local folder Studio uses for local asset storage.Sets the local folder Studio uses for local asset storage. This must be set in Studio Settings > Studio tab.
LuaDebuggerEnabled
: booleanPluginSpecifies whether or not the Lua Debugger feature is enabled.LuaDebuggerEnabledAtStartup
: booleanPluginHiddenReadOnlyNotReplicatedControls whether the Lua debugger is enabled when Studio starts.Controls whether the Lua debugger is enabled when Studio starts. This must be set in Studio Settings > Studio tab.
Luau Keyword Color
: Color3PluginNotReplicatedSets the color of Luau-specific keywords in the script editor.Sets the color of Luau-specific keywords in the script editor. This must be set in Studio Settings > Studio tab.
Matching Word Background Color
: Color3PluginNotReplicatedSets the highlight color of double-clicked variables in the script editor.Maximum Output Lines
: intPluginThe maximum number of lines that can be displayed in the output.Menu Item Background Color
: Color3PluginNotReplicatedSets the background color of menu items in Studio.Sets the background color of menu items in Studio. This must be set in Studio Settings > Studio tab.
Method Color
: Color3PluginNotReplicatedSets the color of method names in the script editor.Sets the color of method names in the script editor. This must be set in Studio Settings > Studio tab.
Number Color
: Color3PluginNotReplicatedSpecifies the color of numbers in Roblox Studio's script editor.Only Play Audio from Window in Focus
: booleanPluginIf set to true, audio being played will only be heard if the game window is being focused on.Operator Color
: Color3PluginNotReplicatedSets the text color of operator characters in the script editor.Output Font
: QFontPluginSpecifies the font used by the output.Output Layout Mode
: OutputLayoutModePluginSets the layout mode of the output.PermissionLevelShown
: PermissionLevelShownPluginSets the highest permission level that APIs have to have in order to be shown in the Object Browser. SeePermissionLevelShownfor more info.PluginsDir
: QDirPluginThe directory where local plugins are stored.PreferredTextSize
: PreferredTextSizePluginSets the preferred font size in the script editor.Sets the preferred font size in the script editor. This must be set in Studio Settings > Studio tab.
Primary Text Color
: Color3PluginNotReplicatedSets the primary text color in Studio.Sets the primary text color in Studio. This must be set in Studio Settings > Studio tab.
Property Color
: Color3PluginNotReplicatedSets the color of property names in the script editor.Sets the color of property names in the script editor. This must be set in Studio Settings > Studio tab.
Respect Studio shortcuts when game has focus
: booleanPluginWhen set to true, Roblox Studio shortcuts will take priority over inputs being captured in the game window.Ruler Color
: Color3PluginNotReplicatedSets the color of the column ruler in the script editor.Sets the color of the column ruler in the script editor. This must be set in Studio Settings > Studio tab.
Rulers
: stringPluginSets the column positions at which vertical ruler lines are drawn in the script editor.Sets the column positions at which vertical ruler lines are drawn in the script editor. This must be set in Studio Settings > Studio tab.
RuntimeUndoBehavior
: RuntimeUndoBehaviorPluginSets how Studio handles undo operations during runtime playback.Sets how Studio handles undo operations during runtime playback. This must be set in Studio Settings > Studio tab.
Script Editor Color Preset
: StudioScriptEditorColorPresetsPluginSets the color preset applied to the script editor.Sets the color preset applied to the script editor. This must be set in Studio Settings > Studio tab.
Script Editor Scrollbar Background Color
: Color3PluginNotReplicatedSets the background color of the script editor scrollbar in Studio.Sets the background color of the script editor scrollbar in Studio. This must be set in Studio Settings > Studio tab.
Script Editor Scrollbar Handle Color
: Color3PluginNotReplicatedSets the handle color of the script editor scrollbar in Studio.Sets the handle color of the script editor scrollbar in Studio. This must be set in Studio Settings > Studio tab.
ScriptTimeoutLength
: intPluginThe time (in seconds) a script can wait to be resumed before timing out.Scroll Past Last Line
: booleanPluginControls whether the script editor allows scrolling below the last line.Controls whether the script editor allows scrolling below the last line. This must be set in Studio Settings > Studio tab.
Secondary Text Color
: Color3PluginNotReplicatedSets the secondary text color in Studio.Sets the secondary text color in Studio. This must be set in Studio Settings > Studio tab.
Select/Hover Color
: Color3PluginSets the color of theModel.PrimaryPartselection box.Selected Menu Item Background Color
: Color3PluginNotReplicatedSets the background color of selected menu items in Studio.Sets the background color of selected menu items in Studio. This must be set in Studio Settings > Studio tab.
Selected Text Color
: Color3PluginNotReplicatedSets the color of selected text in Studio.Sets the color of selected text in Studio. This must be set in Studio Settings > Studio tab.
Selection Background Color
: Color3PluginNotReplicatedSets the background color of selected text in the script editor.Selection Color
: Color3PluginNotReplicatedSets the text color of selected text in the script editor.Set Pivot of Imported Parts
: booleanPluginSets whether the pivot point is repositioned when parts are imported.Sets whether the pivot point is repositioned when parts are imported. This must be set in Studio Settings > Studio tab.
Show Core GUI in Explorer while Playing
: booleanPluginIf set to true, theCoreGuiwill be visible in the Explorer while the game is running.Show Diagnostics Bar
: booleanPluginIf set to true, basic diagnostic information is shown in the bottom right.Show FileSyncService
: booleanPluginControls whether FileSyncService is shown in the Explorer panel.Controls whether FileSyncService is shown in the Explorer panel. This must be set in Studio Settings > Studio tab.
Show Hidden Objects in Explorer
: booleanPluginControls whether hidden objects are visible in the Explorer panel.Controls whether hidden objects are visible in the Explorer panel. This must be set in Studio Settings > Studio tab.
Show Hover Over
: booleanPluginIf set to true, hovering over an object in theWorkspacewill show a selection box.Show Plugin GUI Service in Explorer
: booleanPluginWhen set to true, thePluginGuiServicewill be shown in Roblox Studio's explorer.Show Whitespace
: booleanPluginControls whether whitespace characters are shown as visible glyphs in the script editor.Controls whether whitespace characters are shown as visible glyphs in the script editor. This must be set in Studio Settings > Studio tab.
Skip Closing Brackets and Quotes
: booleanPluginControls whether the cursor skips over a typed closing bracket or quote if one already exists.Controls whether the cursor skips over a typed closing bracket or quote if one already exists. This must be set in Studio Settings > Studio tab.
String Color
: Color3PluginNotReplicatedSpecifies the color of strings in the script editor.Tab Width
: intPluginSpecifies how many spaces are used to represent a tab in the script editor.Text Color
: Color3PluginNotReplicatedSpecifies the color of normal text in the script editor.Text Wrapping
: booleanPluginIf set to true, text in the script editor will be wrapped.Theme
: InstancePluginUsed to get/set currentthemeused by Studio.The Theme property is used to get/set the current
StudioThemeused byStudio.This is intended for use within
Plugins, but will also execute in the Command Line. You can access the function via:settings().Studio.ThemeFor instance, if you would like to print the current Studio theme:
print("The current Studio theme is:", settings().Studio.Theme)TypeColor
: Color3PluginNotReplicatedSets the color of type annotations in the script editor.Sets the color of type annotations in the script editor. This must be set in Studio Settings > Studio tab.
Warning Color
: Color3PluginNotReplicatedSpecifies 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
: Color3PluginNotReplicatedSets the color of visible whitespace characters in the script editor.Sets the color of visible whitespace characters in the script editor. This must be set in Studio Settings > Studio tab.
Methods 1
GetAvailableThemes
() → ArrayPluginReturns a list ofthemesavailable in Studio.The GetAvailableThemes() function returns a list of
StudioThemesavailable inStudio. You can access the function via:
Events 1
Studio also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.