Studio

Visualizza obsoleti
non costruibile
assistenza
non replicato

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.

Sommario

Proprietà

Metodi

Eventi

Proprietà

"TODO" Color

non replicato
lettura parallela

"function" Color

non replicato
lettura parallela

"local" Color

non replicato
lettura parallela

"nil" Color

non replicato
lettura parallela

"self" Color

non replicato
lettura parallela

Active Color

lettura parallela

Active Hover Over Color

lettura parallela

Always Save Script Changes

lettura parallela

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

lettura parallela

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

lettura parallela

Auto Closing Brackets

lettura parallela

Auto Closing Quotes

lettura parallela

Auto Delete Closing Brackets and Quotes

lettura parallela

Auto Indent Rule

lettura parallela

Auto-Recovery Enabled

lettura parallela

Auto-Recovery Interval (Minutes)

lettura parallela

Auto-Recovery Path

QDir
lettura parallela

Automatically trigger AI Code Completion

lettura parallela
sicurezza script roblox

Background Color

non replicato
lettura parallela

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

Basic Objects Display Mode

lettura parallela

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

Bool Color

non replicato
lettura parallela

Bracket Color

non replicato
lettura parallela

Built-in Function Color

non replicato
lettura parallela

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

Camera Mouse Wheel Speed

lettura parallela

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

Camera Pan Speed

lettura parallela
sicurezza script roblox

Camera Shift Speed

lettura parallela

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

Camera Speed

lettura parallela

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

Camera Speed Adjust Binding

lettura parallela

Camera Zoom to Mouse Position

lettura parallela

CameraAdaptiveSpeed

lettura parallela
sicurezza script roblox

CameraTweenFocus

lettura parallela
sicurezza script roblox

Clear Output On Start

lettura parallela

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

CommandBarLocalState

lettura parallela

Comment Color

non replicato
lettura parallela

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

Current Line Highlight Color

non replicato
lettura parallela

Debugger Current Line Color

non replicato
lettura parallela

Debugger Error Line Color

non replicato
lettura parallela

DefaultScriptFileDir

QDir
lettura parallela

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

DeprecatedObjectsShown

lettura parallela

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

DisplayLanguage

lettura parallela
sicurezza script roblox

DraggerActiveColor

lettura parallela
sicurezza script roblox

DraggerMajorGridIncrement

lettura parallela
sicurezza script roblox

DraggerMaxSoftSnaps

lettura parallela
sicurezza script roblox

DraggerPassiveColor

lettura parallela
sicurezza script roblox

DraggerShowHoverRuler

lettura parallela
sicurezza script roblox

DraggerShowMeasurement

lettura parallela
sicurezza script roblox

DraggerShowTargetSnap

lettura parallela
sicurezza script roblox

DraggerSoftSnapMarginFactor

lettura parallela
sicurezza script roblox

DraggerSummonMarginFactor

lettura parallela
sicurezza script roblox

DraggerTiltRotateDuration

lettura parallela
sicurezza script roblox

Enable Autocomplete

lettura parallela

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

Enable Autocomplete Doc View

lettura parallela
sicurezza script roblox

Enable CoreScript Debugger

lettura parallela

Enable Http Sandboxing

lettura parallela

Enable Internal Beta Features

lettura parallela

Enable Internal Features

lettura parallela

Enable Script Analysis

lettura parallela
sicurezza script roblox

Enable Scrollbar Markers

lettura parallela
sicurezza script roblox

Enable Signature Help

lettura parallela
sicurezza script roblox

Enable Signature Help Doc View

lettura parallela
sicurezza script roblox

Enable Temporary Tabs

lettura parallela

Enable Temporary Tabs In Explorer

lettura parallela

Enable Type Hover

lettura parallela
sicurezza script roblox

EnableCodeAssist

lettura parallela
sicurezza script roblox

EnableIndentationRulers

lettura parallela
sicurezza script roblox

Error Color

non replicato
lettura parallela

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

Find Selection Background Color

non replicato
lettura parallela

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

Font

QFont
lettura parallela

Specifies the font used in the script editor.

Format On Paste

lettura parallela

Format On Type

lettura parallela

FreeCameraSpeedScroll

lettura parallela
sicurezza script roblox

Function Name Color

non replicato
lettura parallela

Highlight Current Line

lettura parallela

Highlight Occurances

lettura parallela

HintColor

non replicato
lettura parallela

Hover Animate Speed

lettura parallela

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

Hover Box Thickness

lettura parallela
sicurezza roblox

Hover Line Thickness

lettura parallela
sicurezza roblox

Hover Over Color

lettura parallela

Specifies the color that the hover selection box uses.

IconOverrideDir

QDir
lettura parallela
sicurezza script roblox

Indent Using Spaces

lettura parallela

IndentationRulerColor

non replicato
lettura parallela
sicurezza script roblox

InformationColor

non replicato
lettura parallela

Keyword Color

non replicato
lettura parallela

Sets the text color of built-in Lua keywords.

LargeFileLineCountThreshold

lettura parallela
sicurezza script roblox

LargeFileThreshold

lettura parallela
sicurezza script roblox

Line Thickness

lettura parallela

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

LoadAllBuiltinPluginsInRunModes

lettura parallela
sicurezza script roblox

LoadUserPluginsInRunModes

lettura parallela
sicurezza script roblox

LocalAssetsFolder

QDir
lettura parallela
sicurezza script roblox

LuaDebuggerEnabled

lettura parallela

Specifies whether or not the Lua Debugger feature is enabled.

LuaDebuggerEnabledAtStartup

nascosto
sola lettura
non replicato
lettura parallela

Luau Keyword Color

non replicato
lettura parallela

Main Volume

lettura parallela
sicurezza script roblox

Matching Word Background Color

non replicato
lettura parallela

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

Maximum Output Lines

lettura parallela

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

non replicato
lettura parallela

Method Color

non replicato
lettura parallela

Number Color

non replicato
lettura parallela

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

Only Play Audio from Window in Focus

lettura parallela

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

Operator Color

non replicato
lettura parallela

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

Output Font

QFont
lettura parallela

Specifies the font used by the output.

Output Layout Mode

lettura parallela

Sets the layout mode of the output.

PermissionLevelShown

lettura parallela

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

lettura parallela
sicurezza script roblox

Pivot Snap To Geometry Color

lettura parallela
sicurezza roblox

PluginDebuggingEnabled

lettura parallela

PluginsDir

QDir
lettura parallela

The directory where local plugins are stored.

Primary Text Color

non replicato
lettura parallela

Property Color

non replicato
lettura parallela

ReloadBuiltinPluginsOnChange

lettura parallela
sicurezza roblox

ReloadLocalPluginsOnChange

lettura parallela
sicurezza roblox

Respect Studio shortcuts when game has focus

lettura parallela

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

Ruler Color

non replicato
lettura parallela

Rulers

lettura parallela

RuntimeUndoBehavior

lettura parallela

Script Editor Color Preset

lettura parallela

Script Editor Scrollbar Background Color

non replicato
lettura parallela

Script Editor Scrollbar Handle Color

non replicato
lettura parallela

ScriptTimeoutLength

lettura parallela

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

Scroll Past Last Line

lettura parallela

Secondary Text Color

non replicato
lettura parallela

Select Color

lettura parallela

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

Select/Hover Color

lettura parallela

Sets the color of the Model.PrimaryPart selection box.

Selected Menu Item Background Color

non replicato
lettura parallela

Selected Text Color

non replicato
lettura parallela

Selection Background Color

non replicato
lettura parallela

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

Selection Box Thickness

lettura parallela
sicurezza roblox

Selection Color

non replicato
lettura parallela

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

Selection Line Thickness

lettura parallela
sicurezza roblox

Server Audio Behavior

lettura parallela

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

Set Pivot of Imported Parts

lettura parallela

Show Core GUI in Explorer while Playing

lettura parallela

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

Show Diagnostics Bar

lettura parallela

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

Show FileSyncService

lettura parallela

Show Hidden Objects in Explorer

lettura parallela

Show Hover Over

lettura parallela

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

Show Light Guides

lettura parallela
sicurezza script roblox

Show Navigation Labels

lettura parallela
sicurezza script roblox

Show Navigation Mesh

lettura parallela

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

lettura parallela
sicurezza script roblox

Show Plugin GUI Service in Explorer

lettura parallela

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

Show Singly Selected Attachment Parent Frame

lettura parallela
sicurezza script roblox

Show Whitespace

lettura parallela

Show plus button on hover in Explorer

lettura parallela

ShowCorePackagesInExplorer

lettura parallela
sicurezza script roblox

Skip Closing Brackets and Quotes

lettura parallela

String Color

non replicato
lettura parallela

Specifies the color of strings in the script editor.

Tab Width

lettura parallela

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

Text Color

non replicato
lettura parallela

Specifies the color of normal text in the script editor.

Text Wrapping

lettura parallela

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

lettura parallela

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

lettura parallela
sicurezza script roblox

Warning Color

non replicato
lettura parallela

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

non replicato
lettura parallela

Metodi

GetAvailableThemes

sicurezza plugin

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


settings().Studio:GetAvailableThemes()

Restituzioni

A list of themes available in Studio.

Campioni di codice

Output Studio Themes

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

Eventi

ThemeChanged

sicurezza 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.