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

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

Auto-Recovery Path

QDir
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

Server Audio Behavior

leer paralelo

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

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.