Studio

Afficher les obsolètes
création impossible
service
non répliqué

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.

Résumé

Propriétés

Méthodes

Évènements

Propriétés

"TODO" Color

non répliqué
lecture parallèle

"function" Color

non répliqué
lecture parallèle

"local" Color

non répliqué
lecture parallèle

"nil" Color

non répliqué
lecture parallèle

"self" Color

non répliqué
lecture parallèle

Active Color

lecture parallèle

Active Hover Over Color

lecture parallèle

Always Save Script Changes

lecture parallèle

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

lecture parallèle

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

lecture parallèle

Auto Closing Brackets

lecture parallèle

Auto Closing Quotes

lecture parallèle

Auto Delete Closing Brackets and Quotes

lecture parallèle

Auto Indent Rule

lecture parallèle

Auto-Recovery Enabled

lecture parallèle

Auto-Recovery Interval (Minutes)

lecture parallèle

Auto-Recovery Path

QDir
lecture parallèle

Automatically trigger AI Code Completion

lecture parallèle
sécurité des scripts roblox

Background Color

non répliqué
lecture parallèle

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

Basic Objects Display Mode

lecture parallèle

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

Bool Color

non répliqué
lecture parallèle

Bracket Color

non répliqué
lecture parallèle

Built-in Function Color

non répliqué
lecture parallèle

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

Camera Mouse Wheel Speed

lecture parallèle

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

Camera Pan Speed

lecture parallèle
sécurité des scripts roblox

Camera Shift Speed

lecture parallèle

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

Camera Speed

lecture parallèle

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

Camera Speed Adjust Binding

lecture parallèle

Camera Zoom to Mouse Position

lecture parallèle

CameraAdaptiveSpeed

lecture parallèle
sécurité des scripts roblox

CameraTweenFocus

lecture parallèle
sécurité des scripts roblox

Clear Output On Start

lecture parallèle

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

CommandBarLocalState

lecture parallèle

Comment Color

non répliqué
lecture parallèle

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

Current Line Highlight Color

non répliqué
lecture parallèle

Debugger Current Line Color

non répliqué
lecture parallèle

Debugger Error Line Color

non répliqué
lecture parallèle

DefaultScriptFileDir

QDir
lecture parallèle

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

DeprecatedObjectsShown

lecture parallèle

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

DisplayLanguage

lecture parallèle
sécurité des scripts roblox

DraggerActiveColor

lecture parallèle
sécurité des scripts roblox

DraggerMajorGridIncrement

lecture parallèle
sécurité des scripts roblox

DraggerMaxSoftSnaps

lecture parallèle
sécurité des scripts roblox

DraggerPassiveColor

lecture parallèle
sécurité des scripts roblox

DraggerShowHoverRuler

lecture parallèle
sécurité des scripts roblox

DraggerShowMeasurement

lecture parallèle
sécurité des scripts roblox

DraggerShowTargetSnap

lecture parallèle
sécurité des scripts roblox

DraggerSoftSnapMarginFactor

lecture parallèle
sécurité des scripts roblox

DraggerSummonMarginFactor

lecture parallèle
sécurité des scripts roblox

DraggerTiltRotateDuration

lecture parallèle
sécurité des scripts roblox

Enable Autocomplete

lecture parallèle

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

Enable Autocomplete Doc View

lecture parallèle
sécurité des scripts roblox

Enable CoreScript Debugger

lecture parallèle

Enable Http Sandboxing

lecture parallèle

Enable Internal Beta Features

lecture parallèle

Enable Internal Features

lecture parallèle

Enable Script Analysis

lecture parallèle
sécurité des scripts roblox

Enable Scrollbar Markers

lecture parallèle
sécurité des scripts roblox

Enable Signature Help

lecture parallèle
sécurité des scripts roblox

Enable Signature Help Doc View

lecture parallèle
sécurité des scripts roblox

Enable Temporary Tabs

lecture parallèle

Enable Temporary Tabs In Explorer

lecture parallèle

Enable Type Hover

lecture parallèle
sécurité des scripts roblox

EnableCodeAssist

lecture parallèle
sécurité des scripts roblox

EnableIndentationRulers

lecture parallèle
sécurité des scripts roblox

Error Color

non répliqué
lecture parallèle

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

Find Selection Background Color

non répliqué
lecture parallèle

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

Font

QFont
lecture parallèle

Specifies the font used in the script editor.

Format On Paste

lecture parallèle

Format On Type

lecture parallèle

FreeCameraSpeedScroll

lecture parallèle
sécurité des scripts roblox

Function Name Color

non répliqué
lecture parallèle

Highlight Current Line

lecture parallèle

Highlight Occurances

lecture parallèle

HintColor

non répliqué
lecture parallèle

Hover Animate Speed

lecture parallèle

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

Hover Box Thickness

lecture parallèle
sécurité roblox

Hover Line Thickness

lecture parallèle
sécurité roblox

Hover Over Color

lecture parallèle

Specifies the color that the hover selection box uses.

IconOverrideDir

QDir
lecture parallèle
sécurité des scripts roblox

Indent Using Spaces

lecture parallèle

IndentationRulerColor

non répliqué
lecture parallèle
sécurité des scripts roblox

InformationColor

non répliqué
lecture parallèle

Keyword Color

non répliqué
lecture parallèle

Sets the text color of built-in Lua keywords.

LargeFileLineCountThreshold

lecture parallèle
sécurité des scripts roblox

LargeFileThreshold

lecture parallèle
sécurité des scripts roblox

Line Thickness

lecture parallèle

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

LoadAllBuiltinPluginsInRunModes

lecture parallèle
sécurité des scripts roblox

LoadUserPluginsInRunModes

lecture parallèle
sécurité des scripts roblox

LocalAssetsFolder

QDir
lecture parallèle
sécurité des scripts roblox

LuaDebuggerEnabled

lecture parallèle

Specifies whether or not the Lua Debugger feature is enabled.

LuaDebuggerEnabledAtStartup

caché
lecture uniquement
non répliqué
lecture parallèle

Luau Keyword Color

non répliqué
lecture parallèle

Main Volume

lecture parallèle
sécurité des scripts roblox

Matching Word Background Color

non répliqué
lecture parallèle

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

Maximum Output Lines

lecture parallèle

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

non répliqué
lecture parallèle

Method Color

non répliqué
lecture parallèle

Number Color

non répliqué
lecture parallèle

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

Only Play Audio from Window in Focus

lecture parallèle

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

Operator Color

non répliqué
lecture parallèle

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

Output Font

QFont
lecture parallèle

Specifies the font used by the output.

Output Layout Mode

lecture parallèle

Sets the layout mode of the output.

PermissionLevelShown

lecture parallèle

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

lecture parallèle
sécurité des scripts roblox

Pivot Snap To Geometry Color

lecture parallèle
sécurité roblox

PluginDebuggingEnabled

lecture parallèle

PluginsDir

QDir
lecture parallèle

The directory where local plugins are stored.

Primary Text Color

non répliqué
lecture parallèle

Property Color

non répliqué
lecture parallèle

ReloadBuiltinPluginsOnChange

lecture parallèle
sécurité roblox

ReloadLocalPluginsOnChange

lecture parallèle
sécurité roblox

Respect Studio shortcuts when game has focus

lecture parallèle

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

Ruler Color

non répliqué
lecture parallèle

Rulers

lecture parallèle

RuntimeUndoBehavior

lecture parallèle

Script Editor Color Preset

lecture parallèle

Script Editor Scrollbar Background Color

non répliqué
lecture parallèle

Script Editor Scrollbar Handle Color

non répliqué
lecture parallèle

ScriptTimeoutLength

lecture parallèle

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

Scroll Past Last Line

lecture parallèle

Secondary Text Color

non répliqué
lecture parallèle

Select Color

lecture parallèle

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

Select/Hover Color

lecture parallèle

Sets the color of the Model.PrimaryPart selection box.

Selected Menu Item Background Color

non répliqué
lecture parallèle

Selected Text Color

non répliqué
lecture parallèle

Selection Background Color

non répliqué
lecture parallèle

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

Selection Box Thickness

lecture parallèle
sécurité roblox

Selection Color

non répliqué
lecture parallèle

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

Selection Line Thickness

lecture parallèle
sécurité roblox

Server Audio Behavior

lecture parallèle

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

Set Pivot of Imported Parts

lecture parallèle

Show Core GUI in Explorer while Playing

lecture parallèle

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

Show Diagnostics Bar

lecture parallèle

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

Show FileSyncService

lecture parallèle

Show Hidden Objects in Explorer

lecture parallèle

Show Hover Over

lecture parallèle

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

Show Light Guides

lecture parallèle
sécurité des scripts roblox

Show Navigation Labels

lecture parallèle
sécurité des scripts roblox

Show Navigation Mesh

lecture parallèle

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

lecture parallèle
sécurité des scripts roblox

Show Plugin GUI Service in Explorer

lecture parallèle

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

Show Singly Selected Attachment Parent Frame

lecture parallèle
sécurité des scripts roblox

Show Whitespace

lecture parallèle

Show plus button on hover in Explorer

lecture parallèle

ShowCorePackagesInExplorer

lecture parallèle
sécurité des scripts roblox

Skip Closing Brackets and Quotes

lecture parallèle

String Color

non répliqué
lecture parallèle

Specifies the color of strings in the script editor.

Tab Width

lecture parallèle

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

Text Color

non répliqué
lecture parallèle

Specifies the color of normal text in the script editor.

Text Wrapping

lecture parallèle

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

lecture parallèle

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

lecture parallèle
sécurité des scripts roblox

Warning Color

non répliqué
lecture parallèle

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 répliqué
lecture parallèle

Méthodes

GetAvailableThemes

sécurité des plugins

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


settings().Studio:GetAvailableThemes()

Retours

A list of themes available in Studio.

Échantillons de code

Output Studio Themes

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

Évènements

ThemeChanged

sécurité des plugins

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.