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.
If set to true, Roblox Studio will attempt to transfer script changes that were made during a Play Solo session to the opened place.
Specifies the background color of Roblox Studio's script editor.
Sets the scrolling mode of the Advanced Objects tab in Roblox Studio.
Sets the color of built-in functions and keywords in the script editor.
Sets how many studs the camera will move forward or backwards when using the mouse wheel.
Sets the speed in studs/sec that the camera moves while holding down Shift with the movement keys.
Sets the speed in studs/sec that the camera moves when movement keys are pressed.
If set to true, the output will be automatically cleared when game sessions are switched.
Specifies the color of comments in Roblox Studio's script editor.
Specifies the default prompt directory that will be opened when the user activates the Execute Script button in Roblox Studio.
If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.
If set to true, the bounding box of a selection will be used for collision detection while dragging, instead of each individual part being checked. This makes the dragger perform smoother, but with notably less precision.
When set to true, the script editor and command bar will show an autocomplete menu while writing.
Specifies the color of the wavy underline shown when malformed code is detected in the script editor.
Sets the highlight color of matches in the script editor's Find Selection operation (Ctrl+F).
Sets the highlight color of double-clicked variables in the script editor.
If set to true, audio being played will only be heard if the game window is being focused on.
Sets the text color of operator characters in the script editor.
Scales how much rendering will be throttled when the game window isn't being focused on. In practice, this property isn't very well understood, and is probably intended for internal use only.
When set to true, Roblox Studio shortcuts will take priority over inputs being captured in the game window.
Sets the background color of selected text in the script editor.
An unused Roblox Studio setting that does not appear to have any functionality.
If set to true, basic diagnostic information is shown in the bottom right.
If set to true, certain internal error messages regarding the QT framework that Roblox uses will be shown in the output.
Specifies the color of the wavy underline shown when the script analyzer picks up a problem that should be addressed in the script editor.
This is intended for use within Plugins, but will also execute in the Command Line. You can access the function via:
For instance, if you would like to print the current Studio theme:
1print("The current Studio theme is:", settings().Studio.Theme)2
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.
1local themes = settings().Studio:GetAvailableThemes()23for _, theme in pairs(themes) do4 print(theme)5end