Studio

Mostrar obsoleto
não criável
serviço
não replicado

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.

Resumo

Propriedades

Métodos

Eventos

Propriedades

"TODO" Color

não replicado
ler parallel

"function" Color

não replicado
ler parallel

"local" Color

não replicado
ler parallel

"nil" Color

não replicado
ler parallel

"self" Color

não replicado
ler parallel

Active Color

ler parallel

Active Hover Over Color

ler parallel

Always Save Script Changes

ler 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

ler 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

ler parallel

Auto Closing Brackets

ler parallel

Auto Closing Quotes

ler parallel

Auto Delete Closing Brackets and Quotes

ler parallel

Auto Indent Rule

ler parallel

Auto-Recovery Enabled

ler parallel

Auto-Recovery Interval (Minutes)

ler parallel

Auto-Recovery Path

QDir
ler parallel

Automatically trigger AI Code Completion

ler parallel
segurança do script roblox

Background Color

não replicado
ler parallel

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

Basic Objects Display Mode

ler parallel

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

Bool Color

não replicado
ler parallel

Bracket Color

não replicado
ler parallel

Built-in Function Color

não replicado
ler parallel

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

Camera Mouse Wheel Speed

ler parallel

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

Camera Pan Speed

ler parallel
segurança do script roblox

Camera Shift Speed

ler parallel

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

Camera Speed

ler parallel

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

Camera Speed Adjust Binding

ler parallel

Camera Zoom to Mouse Position

ler parallel

CameraAdaptiveSpeed

ler parallel
segurança do script roblox

CameraTweenFocus

ler parallel
segurança do script roblox

Clear Output On Start

ler parallel

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

CommandBarLocalState

ler parallel

Comment Color

não replicado
ler parallel

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

Current Line Highlight Color

não replicado
ler parallel

Debugger Current Line Color

não replicado
ler parallel

Debugger Error Line Color

não replicado
ler parallel

DefaultScriptFileDir

QDir
ler parallel

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

DeprecatedObjectsShown

ler parallel

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

DisplayLanguage

ler parallel
segurança do script roblox

DraggerActiveColor

ler parallel
segurança do script roblox

DraggerMajorGridIncrement

ler parallel
segurança do script roblox

DraggerMaxSoftSnaps

ler parallel
segurança do script roblox

DraggerPassiveColor

ler parallel
segurança do script roblox

DraggerShowHoverRuler

ler parallel
segurança do script roblox

DraggerShowMeasurement

ler parallel
segurança do script roblox

DraggerShowTargetSnap

ler parallel
segurança do script roblox

DraggerSoftSnapMarginFactor

ler parallel
segurança do script roblox

DraggerSummonMarginFactor

ler parallel
segurança do script roblox

DraggerTiltRotateDuration

ler parallel
segurança do script roblox

Enable Autocomplete

ler parallel

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

Enable Autocomplete Doc View

ler parallel
segurança do script roblox

Enable CoreScript Debugger

ler parallel

Enable Http Sandboxing

ler parallel

Enable Internal Beta Features

ler parallel

Enable Internal Features

ler parallel

Enable Script Analysis

ler parallel
segurança do script roblox

Enable Scrollbar Markers

ler parallel
segurança do script roblox

Enable Signature Help

ler parallel
segurança do script roblox

Enable Signature Help Doc View

ler parallel
segurança do script roblox

Enable Temporary Tabs

ler parallel

Enable Temporary Tabs In Explorer

ler parallel

Enable Type Hover

ler parallel
segurança do script roblox

EnableCodeAssist

ler parallel
segurança do script roblox

EnableIndentationRulers

ler parallel
segurança do script roblox

Error Color

não replicado
ler parallel

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

Find Selection Background Color

não replicado
ler parallel

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

Font

QFont
ler parallel

Specifies the font used in the script editor.

Format On Paste

ler parallel

Format On Type

ler parallel

FreeCameraSpeedScroll

ler parallel
segurança do script roblox

Function Name Color

não replicado
ler parallel

Highlight Current Line

ler parallel

Highlight Occurances

ler parallel

HintColor

não replicado
ler parallel

Hover Animate Speed

ler parallel

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

Hover Box Thickness

ler parallel
segurança roblox

Hover Line Thickness

ler parallel
segurança roblox

Hover Over Color

ler parallel

Specifies the color that the hover selection box uses.

IconOverrideDir

QDir
ler parallel
segurança do script roblox

Indent Using Spaces

ler parallel

IndentationRulerColor

não replicado
ler parallel
segurança do script roblox

InformationColor

não replicado
ler parallel

Keyword Color

não replicado
ler parallel

Sets the text color of built-in Lua keywords.

LargeFileLineCountThreshold

ler parallel
segurança do script roblox

LargeFileThreshold

ler parallel
segurança do script roblox

Line Thickness

ler parallel

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

LoadAllBuiltinPluginsInRunModes

ler parallel
segurança do script roblox

LoadUserPluginsInRunModes

ler parallel
segurança do script roblox

LocalAssetsFolder

QDir
ler parallel
segurança do script roblox

LuaDebuggerEnabled

ler parallel

Specifies whether or not the Lua Debugger feature is enabled.

LuaDebuggerEnabledAtStartup

oculto
somente leitura
não replicado
ler parallel

Luau Keyword Color

não replicado
ler parallel

Main Volume

ler parallel
segurança do script roblox

Matching Word Background Color

não replicado
ler parallel

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

Maximum Output Lines

ler parallel

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

não replicado
ler parallel

Method Color

não replicado
ler parallel

Number Color

não replicado
ler parallel

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

Only Play Audio from Window in Focus

ler parallel

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

Operator Color

não replicado
ler parallel

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

Output Font

QFont
ler parallel

Specifies the font used by the output.

Output Layout Mode

ler parallel

Sets the layout mode of the output.

PermissionLevelShown

ler 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

ler parallel
segurança do script roblox

Pivot Snap To Geometry Color

ler parallel
segurança roblox

PluginDebuggingEnabled

ler parallel

PluginsDir

QDir
ler parallel

The directory where local plugins are stored.

Primary Text Color

não replicado
ler parallel

Property Color

não replicado
ler parallel

ReloadBuiltinPluginsOnChange

ler parallel
segurança roblox

ReloadLocalPluginsOnChange

ler parallel
segurança roblox

Respect Studio shortcuts when game has focus

ler parallel

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

Ruler Color

não replicado
ler parallel

Rulers

ler parallel

RuntimeUndoBehavior

ler parallel

Script Editor Color Preset

ler parallel

Script Editor Scrollbar Background Color

não replicado
ler parallel

Script Editor Scrollbar Handle Color

não replicado
ler parallel

ScriptTimeoutLength

ler parallel

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

Scroll Past Last Line

ler parallel

Secondary Text Color

não replicado
ler parallel

Select Color

ler parallel

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

Select/Hover Color

ler parallel

Sets the color of the Model.PrimaryPart selection box.

Selected Menu Item Background Color

não replicado
ler parallel

Selected Text Color

não replicado
ler parallel

Selection Background Color

não replicado
ler parallel

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

Selection Box Thickness

ler parallel
segurança roblox

Selection Color

não replicado
ler parallel

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

Selection Line Thickness

ler parallel
segurança roblox

Server Audio Behavior

ler parallel

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

Set Pivot of Imported Parts

ler parallel

Show Core GUI in Explorer while Playing

ler parallel

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

Show Diagnostics Bar

ler parallel

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

Show FileSyncService

ler parallel

Show Hidden Objects in Explorer

ler parallel

Show Hover Over

ler parallel

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

Show Light Guides

ler parallel
segurança do script roblox

Show Navigation Labels

ler parallel
segurança do script roblox

Show Navigation Mesh

ler parallel

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

ler parallel
segurança do script roblox

Show Plugin GUI Service in Explorer

ler parallel

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

Show Singly Selected Attachment Parent Frame

ler parallel
segurança do script roblox

Show Whitespace

ler parallel

Show plus button on hover in Explorer

ler parallel

ShowCorePackagesInExplorer

ler parallel
segurança do script roblox

Skip Closing Brackets and Quotes

ler parallel

String Color

não replicado
ler parallel

Specifies the color of strings in the script editor.

Tab Width

ler parallel

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

Text Color

não replicado
ler parallel

Specifies the color of normal text in the script editor.

Text Wrapping

ler parallel

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

ler 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

ler parallel
segurança do script roblox

Warning Color

não replicado
ler 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

não replicado
ler parallel

Métodos

GetAvailableThemes

segurança do plugin

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


settings().Studio:GetAvailableThemes()

Devolução

A list of themes available in Studio.

Amostras de código

Output Studio Themes

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

Eventos

ThemeChanged

segurança do plugin

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.