Studio

Mostrar obsoleto

*Pronto este contenido estará disponible en tu idioma seleccionado.

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

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

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

CameraTweenFocus

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

DraggerActiveColor

Seguridad de scripts Roblox
Leer paralelo

DraggerMajorGridIncrement

Seguridad de scripts Roblox
Leer paralelo

DraggerMaxSoftSnaps

Seguridad de scripts Roblox
Leer paralelo

DraggerPassiveColor

Seguridad de scripts Roblox
Leer paralelo

DraggerShowHoverRuler

Seguridad de scripts Roblox
Leer paralelo

DraggerShowMeasurement

Seguridad de scripts Roblox
Leer paralelo

DraggerShowTargetSnap

Seguridad de scripts Roblox
Leer paralelo

DraggerSoftSnapMarginFactor

Seguridad de scripts Roblox
Leer paralelo

DraggerSummonMarginFactor

Seguridad de scripts Roblox
Leer paralelo

DraggerTiltRotateDuration

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

Enable CoreScript Debugger

Leer paralelo

Enable Http Sandboxing

Leer paralelo

Enable Internal Beta Features

Leer paralelo

Enable Internal Features

Leer paralelo

Enable Script Analysis

Seguridad de scripts Roblox
Leer paralelo

Enable Scrollbar Markers

Seguridad de scripts Roblox
Leer paralelo

Enable Signature Help

Seguridad de scripts Roblox
Leer paralelo

Enable Signature Help Doc View

Seguridad de scripts Roblox
Leer paralelo

Enable Temporary Tabs

Leer paralelo

Enable Temporary Tabs In Explorer

Leer paralelo

Enable Type Hover

Seguridad de scripts Roblox
Leer paralelo

EnableCodeAssist

Seguridad de scripts Roblox
Leer paralelo

EnableIndentationRulers

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de Roblox
Leer paralelo

Hover Line Thickness

Seguridad de Roblox
Leer paralelo

Hover Over Color

Leer paralelo

Specifies the color that the hover selection box uses.

IconOverrideDir

QDir
Seguridad de scripts Roblox
Leer paralelo

Indent Using Spaces

Leer paralelo

IndentationRulerColor

No replicado
Seguridad de scripts Roblox
Leer paralelo

InformationColor

No replicado
Leer paralelo

Keyword Color

No replicado
Leer paralelo

Sets the text color of built-in Lua keywords.

LargeFileLineCountThreshold

Seguridad de scripts Roblox
Leer paralelo

LargeFileThreshold

Seguridad de scripts Roblox
Leer paralelo

Line Thickness

Leer paralelo

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

LoadAllBuiltinPluginsInRunModes

Seguridad de scripts Roblox
Leer paralelo

LoadUserPluginsInRunModes

Seguridad de scripts Roblox
Leer paralelo

LocalAssetsFolder

QDir
Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

Pivot Snap To Geometry Color

Seguridad de Roblox
Leer paralelo

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

Seguridad de Roblox
Leer paralelo

ReloadLocalPluginsOnChange

Seguridad de Roblox
Leer paralelo

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

Seguridad de Roblox
Leer paralelo

Selection Color

No replicado
Leer paralelo

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

Selection Line Thickness

Seguridad de Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

Show Navigation Labels

Seguridad de scripts Roblox
Leer paralelo

Show Navigation Mesh

Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

Show Whitespace

Leer paralelo

Show plus button on hover in Explorer

Leer paralelo

ShowCorePackagesInExplorer

Seguridad de scripts Roblox
Leer paralelo

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

Seguridad de scripts Roblox
Leer paralelo

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.