PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Studio

Show deprecated

Studio

Show deprecated

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

bool

Always Save Script Changes

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

bool

Animate Hover Over

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

bool

Auto Indent

If set to true, the script editor will automatically indent when a new stack is created in the script.

bool

Auto-Save Enabled

If set to true, the auto-save mode will be enabled.

int

Auto-Save Interval (Minutes)

Sets the interval (in minutes) that Roblox auto-saves at.

QDir

Auto-Save Path

Specifies the directory where auto-save files will be saved in.

Color3

Background Color

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

ListDisplayMode

Basic Objects Display Mode

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

Color3

Built-in Function Color

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

float

Camera Mouse Wheel Speed

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

float

Camera Shift Speed

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

float

Camera Speed

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

bool

Clear Output On Start

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

Color3

Comment Color

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

QDir

DefaultScriptFileDir

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

bool

DeprecatedObjectsShown

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

int

Device Pairing Code

A 4 digit code that can be used by Roblox’s mobile pairing app to connect to your instance of Roblox Studio on the local network.

bool

Drag Multiple Parts As Single Part

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.

bool

Enable Autocomplete

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

Color3

Error Color

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

Color3

Find Selection Background Color

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

QFont

Font

Specifies the font used in the script editor.

HoverAnimateSpeed

Hover Animate Speed

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

Color3

Hover Over Color

Specifies the color that the hover selection box uses.

Color3

Keyword Color

Sets the text color of built-in Lua keywords.

float

Line Thickness

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

bool

LuaDebuggerEnabled

Specifies whether or not the Lua Debugger feature is enabled.

Color3

Matching Word Background Color

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

int

Maximum Output Lines

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

Color3

Number Color

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

bool

Only Play Audio from Window in Focus

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

Color3

Operator Color

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

QFont

Output Font

Specifies the font used by the output.

OutputLayoutMode

Output Layout Mode

Sets the layout mode of the output.

bool

OverrideCoreScripts

If set to true, the Studio/OverrideCoreScriptsDir will be used for CoreScripts in Roblox Studio, instead of the default rbxasset://scripts directory.

QDir

OverrideCoreScriptsDir

The directory used when overriding core scripts.
This should point to a clone of Roblox’s CoreScript GitHub repository.

PermissionLevelShown

PermissionLevelShown

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.

QDir

PluginsDir

The directory where local plugins are stored.

Color3

Preprocessor Color

(OBSOLETE)

QDir

RecentSavesDir

The directory where recent saves are stored in.

int

Render Throttle Percentage

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.

bool

Respect Studio shortcuts when game has focus

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

RuntimeUndoBehavior

RuntimeUndoBehavior

int

ScriptTimeoutLength

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

Color3

Select Color

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

Color3

Select/Hover Color

Sets the color of the Model/PrimaryPart selection box.

Color3

Selection Background Color

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

Color3

Selection Color

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

ServerAudioBehavior

Server Audio Behavior

An unused Roblox Studio setting that does not appear to have any functionality.

bool

Show Core GUI in Explorer while Playing

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

bool

Show Diagnostics Bar

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

bool

Show Hover Over

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

bool

Show Plugin GUI Service in Explorer

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

bool

Show QT warnings in output

If set to true, certain internal error messages regarding the QT framework that Roblox uses will be shown in the output.

bool

Show plus button on hover in Explorer

Color3

String Color

Specifies the color of strings in the script editor.

int

Tab Width

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

Color3

Text Color

Specifies the color of normal text in the script editor.

bool

Text Wrapping

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

Instance

Theme

Used to get/set current StudioTheme|theme used by Studio

UITheme

UI Theme

Specifies the color scheme of Roblox Studio.

Color3

Warning Color

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

Inherited from Instance: Show Hide

int

DataCost

[ReadOnly] [NotReplicated]
The cost of saving the instance using data persistence.
Instance

Parent

Determines the hierarchical parent of the `Instance`.
bool

RobloxLocked

If true, the `Instance` and its descendants cannot be indexed or edited by a `Script` or `LocalScript` and will throw an error if it is attempted.
string

ClassName

[ReadOnly] [NotReplicated]
A read-only string representing the class this `Instance` belongs to.
string

Name

A non-unique identifier of the `Instance`.
bool

Archivable

Determines if an `Instance` can be cloned using `/Instance/Clone` or saved to file.

Functions

Array

GetAvailableThemes ( )

Returns a list of StudioTheme|themes available in Studio

Inherited from Instance: Show Hide

string

GetFullName ( )

Returns a string describing the `Instance`'s ancestry.
RBXScriptSignal

GetPropertyChangedSignal ( string property )

Get an event that fires when a given property of an object changes.
Instance

FindFirstChildWhichIsA ( string className , bool recursive )

Returns the first child of the `Instance` for whom `Instance/IsA` returns true for the given className.
Array

GetDescendants ( )

[CustomLuaState]
Returns an array containing all of the `Instance`'s descendants.
bool

IsAncestorOf ( Instance descendant )

Returns true if an `Instance` is an ancestor of the given descendant.
bool

IsDescendantOf ( Instance ancestor )

Returns true if an `Instance` is a descendant of the given ancestor.
Instance

FindFirstChildOfClass ( string className )

Returns the first child of the `Instance` whose `Instance/ClassName|ClassName` is equal to the given className.
Instance

FindFirstChild ( string name , bool recursive )

Returns the first child of the `Instance` found with the given name.
Instance

FindFirstAncestorWhichIsA ( string className )

Returns the first ancestor of the `Instance` for whom `Instance/IsA` returns true for the given className.
Instance

FindFirstAncestorOfClass ( string className )

Returns the first ancestor of the `Instance` whose `Instance/ClassName` is equal to the given className.
Instance

FindFirstAncestor ( string name )

Returns the first ancestor of the `Instance` whose `Instance/Name` is equal to the given name.
bool

IsA ( string className )

Returns true if an `Instance`'s class matches or inherits from a given class
Instance

WaitForChild ( string childName , double timeOut )

[CustomLuaState] [CanYield]
Returns the child of the `Instance` with the given name. If the child does not exist, it will yield the current thread until it does.
string

GetDebugId ( int scopeLength )

[NotBrowsable]
Returns a coded string of the `Instance`s DebugId used internally by Roblox.
Objects

GetChildren ( )

Returns an array containing all of the `Instance`'s children.
void

Destroy ( )

Sets the `Instance/Parent` property to nil, locks the `Instance/Parent` property, disconnects all connections and calls Destroy on all children.
Instance

Clone ( )

Create a deep copy of a Roblox instance and descendants where `Archivable = true`.
void

ClearAllChildren ( )

This function destroys all of an `Instance`'s children.

Events

RBXScriptSignal

ThemeChanged ( )

Event called when Studio’s StudioTheme|theme changes

Inherited from Instance: Show Hide

RBXScriptSignal

DescendantRemoving ( Instance descendant )

Fires immediately before a descendant of the `Instance` is removed.
RBXScriptSignal

AncestryChanged ( Instance child , Instance parent )

Fires when the `Instance/Parent` property of the object or one of its ancestors is changed.
RBXScriptSignal

ChildAdded ( Instance child )

Fires when an object is parented to this `Instance`.
RBXScriptSignal

ChildRemoved ( Instance child )

Fires when a child is removed from this `Instance`.
RBXScriptSignal

DescendantAdded ( Instance descendant )

Fires when a descendant is added to the `Instance`.
RBXScriptSignal

Changed ( string property )

Fired immediately after a property of an object changes.