Studio

Mostrar obsoleto
No creable
Servicio
No 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.

Resumen

Propiedades

Métodos

Eventos

Propiedades

"TODO" Color

No replicado
Leer paralelo

"function" Color

No replicado
Leer paralelo

"local" Color

No replicado
Leer paralelo

"nil" Color

No replicado
Leer paralelo

"self" Color

No replicado
Leer paralelo

ActionOnStopSync

Leer paralelo

Active Color

Leer paralelo

Active Hover Over Color

Leer paralelo

Always Save Script Changes

Leer paralelo

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

Leer paralelo

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

Leer paralelo

Auto Closing Brackets

Leer paralelo

Auto Closing Quotes

Leer paralelo

Auto Delete Closing Brackets and Quotes

Leer paralelo

Auto Indent Rule

Leer paralelo

Auto-Recovery Enabled

Leer paralelo

Auto-Recovery Interval (Minutes)

Leer paralelo

Automatically trigger AI Code Completion

Leer paralelo
Seguridad de scripts Roblox

Background Color

No replicado
Leer paralelo

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

Basic Objects Display Mode

Leer paralelo

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

Bool Color

No replicado
Leer paralelo

Bracket Color

No replicado
Leer paralelo

Built-in Function Color

No replicado
Leer paralelo

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

Camera Mouse Wheel Speed

Leer paralelo

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

Camera Pan Speed

Leer paralelo
Seguridad de scripts Roblox

Camera Shift Speed

Leer paralelo

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

Camera Speed

Leer paralelo

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

Camera Speed Adjust Binding

Leer paralelo

Camera Zoom to Mouse Position

Leer paralelo

CameraAdaptiveSpeed

Leer paralelo
Seguridad de scripts Roblox

CameraTweenFocus

Leer paralelo
Seguridad de scripts Roblox

Clear Output On Start

Leer paralelo

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

CommandBarLocalState

Leer paralelo

Comment Color

No replicado
Leer paralelo

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

Current Line Highlight Color

No replicado
Leer paralelo

Debugger Current Line Color

No replicado
Leer paralelo

Debugger Error Line Color

No replicado
Leer paralelo

DefaultScriptFileDir

QDir
Leer paralelo

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

DeprecatedObjectsShown

Leer paralelo

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

DisplayLanguage

Leer paralelo
Seguridad de scripts Roblox

DraggerActiveColor

Leer paralelo
Seguridad de scripts Roblox

DraggerMajorGridIncrement

Leer paralelo
Seguridad de scripts Roblox

DraggerMaxSoftSnaps

Leer paralelo
Seguridad de scripts Roblox

DraggerPassiveColor

Leer paralelo
Seguridad de scripts Roblox

DraggerShowHoverRuler

Leer paralelo
Seguridad de scripts Roblox

DraggerShowMeasurement

Leer paralelo
Seguridad de scripts Roblox

DraggerShowTargetSnap

Leer paralelo
Seguridad de scripts Roblox

DraggerSoftSnapMarginFactor

Leer paralelo
Seguridad de scripts Roblox

DraggerSummonMarginFactor

Leer paralelo
Seguridad de scripts Roblox

DraggerTiltRotateDuration

Leer paralelo
Seguridad de scripts Roblox

Enable Autocomplete

Leer paralelo

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

Enable Autocomplete Doc View

Leer paralelo
Seguridad de scripts Roblox

Enable CoreScript Debugger

Leer paralelo

Enable Http Sandboxing

Leer paralelo

Enable Internal Beta Features

Leer paralelo

Enable Internal Features

Leer paralelo

Enable Script Analysis

Leer paralelo
Seguridad de scripts Roblox

Enable Scrollbar Markers

Leer paralelo
Seguridad de scripts Roblox

Enable Signature Help

Leer paralelo
Seguridad de scripts Roblox

Enable Signature Help Doc View

Leer paralelo
Seguridad de scripts Roblox

Enable Temporary Tabs

Leer paralelo

Enable Temporary Tabs In Explorer

Leer paralelo

Enable Type Hover

Leer paralelo
Seguridad de scripts Roblox

EnableCodeAssist

Leer paralelo
Seguridad de scripts Roblox

EnableIndentationRulers

Leer paralelo
Seguridad de scripts Roblox

Error Color

No replicado
Leer paralelo

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

Find Selection Background Color

No replicado
Leer paralelo

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

Font

QFont
Leer paralelo

Specifies the font used in the script editor.

Format On Paste

Leer paralelo

Format On Type

Leer paralelo

FreeCameraSpeedScroll

Leer paralelo
Seguridad de scripts Roblox

Function Name Color

No replicado
Leer paralelo

Highlight Current Line

Leer paralelo

Highlight Occurances

Leer paralelo

HintColor

No replicado
Leer paralelo

Hover Animate Speed

Leer paralelo

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

Hover Box Thickness

Leer paralelo
Seguridad de Roblox

Hover Line Thickness

Leer paralelo
Seguridad de Roblox

Hover Over Color

Leer paralelo

Specifies the color that the hover selection box uses.

IconOverrideDir

QDir
Leer paralelo
Seguridad de scripts Roblox

Indent Using Spaces

Leer paralelo

IndentationRulerColor

No replicado
Leer paralelo
Seguridad de scripts Roblox

InformationColor

No replicado
Leer paralelo

Keyword Color

No replicado
Leer paralelo

Sets the text color of built-in Lua keywords.

LargeFileLineCountThreshold

Leer paralelo
Seguridad de scripts Roblox

LargeFileThreshold

Leer paralelo
Seguridad de scripts Roblox

Line Thickness

Leer paralelo

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

LoadAllBuiltinPluginsInRunModes

Leer paralelo
Seguridad de scripts Roblox

LoadUserPluginsInRunModes

Leer paralelo
Seguridad de scripts Roblox

LocalAssetsFolder

QDir
Leer paralelo
Seguridad de scripts Roblox

LuaDebuggerEnabled

Leer paralelo

Specifies whether or not the Lua Debugger feature is enabled.

LuaDebuggerEnabledAtStartup

Oculto
Solo lectura
No replicado
Leer paralelo

Luau Keyword Color

No replicado
Leer paralelo

Main Volume

Leer paralelo
Seguridad de scripts Roblox

Matching Word Background Color

No replicado
Leer paralelo

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

Maximum Output Lines

Leer paralelo

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

No replicado
Leer paralelo

Method Color

No replicado
Leer paralelo

Number Color

No replicado
Leer paralelo

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

Only Play Audio from Window in Focus

Leer paralelo

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

Operator Color

No replicado
Leer paralelo

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

Output Font

QFont
Leer paralelo

Specifies the font used by the output.

Output Layout Mode

Leer paralelo

Sets the layout mode of the output.

PermissionLevelShown

Leer paralelo

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

Leer paralelo
Seguridad de scripts Roblox

Pivot Snap To Geometry Color

Leer paralelo
Seguridad de Roblox

PluginDebuggingEnabled

Leer paralelo

PluginsDir

QDir
Leer paralelo

The directory where local plugins are stored.

Primary Text Color

No replicado
Leer paralelo

Property Color

No replicado
Leer paralelo

ReloadBuiltinPluginsOnChange

Leer paralelo
Seguridad de Roblox

ReloadLocalPluginsOnChange

Leer paralelo
Seguridad de Roblox

Respect Studio shortcuts when game has focus

Leer paralelo

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

Ruler Color

No replicado
Leer paralelo

Rulers

Leer paralelo

RuntimeUndoBehavior

Leer paralelo

Script Editor Color Preset

Leer paralelo

Script Editor Scrollbar Background Color

No replicado
Leer paralelo

Script Editor Scrollbar Handle Color

No replicado
Leer paralelo

ScriptTimeoutLength

Leer paralelo

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

Scroll Past Last Line

Leer paralelo

Secondary Text Color

No replicado
Leer paralelo

Select Color

Leer paralelo

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

Select/Hover Color

Leer paralelo

Sets the color of the Model.PrimaryPart selection box.

Selected Menu Item Background Color

No replicado
Leer paralelo

Selected Text Color

No replicado
Leer paralelo

Selection Background Color

No replicado
Leer paralelo

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

Selection Box Thickness

Leer paralelo
Seguridad de Roblox

Selection Color

No replicado
Leer paralelo

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

Selection Line Thickness

Leer paralelo
Seguridad de Roblox

Set Pivot of Imported Parts

Leer paralelo

Show Core GUI in Explorer while Playing

Leer paralelo

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

Show Diagnostics Bar

Leer paralelo

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

Show FileSyncService

Leer paralelo

Show Hidden Objects in Explorer

Leer paralelo

Show Hover Over

Leer paralelo

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

Show Light Guides

Leer paralelo
Seguridad de scripts Roblox

Show Navigation Labels

Leer paralelo
Seguridad de scripts Roblox

Show Navigation Mesh

Leer paralelo

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

Leer paralelo
Seguridad de scripts Roblox

Show Plugin GUI Service in Explorer

Leer paralelo

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

Show Singly Selected Attachment Parent Frame

Leer paralelo
Seguridad de scripts Roblox

Show Whitespace

Leer paralelo

Show plus button on hover in Explorer

Leer paralelo

ShowCorePackagesInExplorer

Leer paralelo
Seguridad de scripts Roblox

Skip Closing Brackets and Quotes

Leer paralelo

String Color

No replicado
Leer paralelo

Specifies the color of strings in the script editor.

Tab Width

Leer paralelo

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

Text Color

No replicado
Leer paralelo

Specifies the color of normal text in the script editor.

Text Wrapping

Leer paralelo

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

Leer paralelo

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

Leer paralelo
Seguridad de scripts Roblox

Warning Color

No replicado
Leer paralelo

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

No replicado
Leer paralelo

Métodos

GetAvailableThemes

Seguridad del plugin

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


settings().Studio:GetAvailableThemes()

Devuelve

A list of themes available in Studio.

Muestras de código

Output Studio Themes

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

Eventos

ThemeChanged

Seguridad del 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.