Studio
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à
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
- lettura parallela
- lettura parallela
- 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.
- 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.
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- non replicatolettura parallela
Specifies the background color of Roblox Studio's script editor.
- lettura parallela
Sets the scrolling mode of the Advanced Objects tab in Roblox Studio.
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
Sets the color of built-in functions and keywords in the script editor.
- lettura parallela
Sets how many studs the camera will move forward or backwards when using the mouse wheel.
- lettura parallela
- lettura parallela
Sets the speed in studs/sec that the camera moves while holding down Shift with the movement keys.
- lettura parallela
Sets the speed in studs/sec that the camera moves when movement keys are pressed.
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
If set to true, the output will be automatically cleared when game sessions are switched.
- lettura parallela
- non replicatolettura parallela
Specifies the color of comments in Roblox Studio's script editor.
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
- lettura parallela
Specifies the default prompt directory that will be opened when the user activates the Execute Script button in Roblox Studio.
- lettura parallela
If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
When set to true, the script editor and command bar will show an autocomplete menu while writing.
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- non replicatolettura parallela
Specifies the color of the wavy underline shown when malformed code is detected in the script editor.
- non replicatolettura parallela
Sets the highlight color of matches in the script editor's Find Selection operation (Ctrl+F).
- lettura parallela
Specifies the font used in the script editor.
- lettura parallela
- lettura parallela
- lettura parallela
- non replicatolettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
Specifies how frequently the hover animation flashes when the mouse is hovering over a selectable object in the Workspace.
- lettura parallela
- lettura parallela
- lettura parallela
Specifies the color that the hover selection box uses.
- lettura parallela
- lettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
Sets the text color of built-in Lua keywords.
- lettura parallela
- lettura parallela
- lettura parallela
Sets the thickness of the Model.PrimaryPart selection adornee. This value is constrained between 0 and 0.05.
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
Specifies whether or not the Lua Debugger feature is enabled.
- nascostosola letturanon replicatolettura parallela
- non replicatolettura parallela
- lettura parallela
- non replicatolettura parallela
Sets the highlight color of double-clicked variables in the script editor.
- lettura parallela
The maximum number of lines that can be displayed in the output.
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
Specifies the color of numbers in Roblox Studio's script editor.
- lettura parallela
If set to true, audio being played will only be heard if the game window is being focused on.
- non replicatolettura parallela
Sets the text color of operator characters in the script editor.
- lettura parallela
Specifies the font used by the output.
- lettura parallela
Sets the layout mode of the output.
- 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.
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
The directory where local plugins are stored.
- non replicatolettura parallela
- non replicatolettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
When set to true, Roblox Studio shortcuts will take priority over inputs being captured in the game window.
- non replicatolettura parallela
- lettura parallela
- lettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
- lettura parallela
The time (in seconds) a script can wait to be resumed before timing out.
- lettura parallela
- non replicatolettura parallela
- lettura parallela
The color of the selection box used with object selections in the Workspace.
- lettura parallela
Sets the color of the Model.PrimaryPart selection box.
- non replicatolettura parallela
- non replicatolettura parallela
- non replicatolettura parallela
Sets the background color of selected text in the script editor.
- lettura parallela
- non replicatolettura parallela
Sets the text color of selected text in the script editor.
- lettura parallela
- lettura parallela
An unused Roblox Studio setting that does not appear to have any functionality.
- lettura parallela
- lettura parallela
If set to true, the CoreGui will be visible in the Explorer while the game is running.
- lettura parallela
If set to true, basic diagnostic information is shown in the bottom right.
- lettura parallela
- lettura parallela
- lettura parallela
If set to true, hovering over an object in the Workspace will show a selection box.
- lettura parallela
- lettura parallela
- lettura parallela
When set to true, the navigation mesh used by the PathfindingService will be visualized.
- lettura parallela
- lettura parallela
When set to true, the PluginGuiService will be shown in Roblox Studio's explorer.
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- lettura parallela
- non replicatolettura parallela
Specifies the color of strings in the script editor.
Specifies how many spaces are used to represent a tab in the script editor.
- non replicatolettura parallela
Specifies the color of normal text in the script editor.
- lettura parallela
If set to true, text in the script editor will be wrapped.
Used to get/set current theme used by Studio.
- lettura parallela
- non replicatolettura 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.
- non replicatolettura parallela
Metodi
- sicurezza plugin
Returns a list of themes available in Studio.
Eventi
- sicurezza plugin
Event called when Studio's theme changes.
Proprietà
"TODO" Color
"function" Color
"local" Color
"nil" Color
"self" Color
Active Color
Active Hover Over Color
Always Save Script Changes
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
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
Auto Closing Brackets
Auto Closing Quotes
Auto Delete Closing Brackets and Quotes
Auto Indent Rule
Auto-Recovery Enabled
Auto-Recovery Interval (Minutes)
Auto-Recovery Path
Automatically trigger AI Code Completion
Background Color
Specifies the background color of Roblox Studio's script editor.
Basic Objects Display Mode
Sets the scrolling mode of the Advanced Objects tab in Roblox Studio.
Bool Color
Bracket Color
Built-in Function Color
Sets the color of built-in functions and keywords in the script editor.
Camera Mouse Wheel Speed
Sets how many studs the camera will move forward or backwards when using the mouse wheel.
Camera Pan Speed
Camera Shift Speed
Sets the speed in studs/sec that the camera moves while holding down Shift with the movement keys.
Camera Speed
Sets the speed in studs/sec that the camera moves when movement keys are pressed.
Camera Speed Adjust Binding
Camera Zoom to Mouse Position
CameraAdaptiveSpeed
CameraTweenFocus
Clear Output On Start
If set to true, the output will be automatically cleared when game sessions are switched.
CommandBarLocalState
Comment Color
Specifies the color of comments in Roblox Studio's script editor.
Current Line Highlight Color
Debugger Current Line Color
Debugger Error Line Color
DefaultScriptFileDir
Specifies the default prompt directory that will be opened when the user activates the Execute Script button in Roblox Studio.
DeprecatedObjectsShown
If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.
DisplayLanguage
DraggerActiveColor
DraggerMajorGridIncrement
DraggerMaxSoftSnaps
DraggerPassiveColor
DraggerShowHoverRuler
DraggerShowMeasurement
DraggerShowTargetSnap
DraggerSoftSnapMarginFactor
DraggerSummonMarginFactor
DraggerTiltRotateDuration
Enable Autocomplete
When set to true, the script editor and command bar will show an autocomplete menu while writing.
Enable Autocomplete Doc View
Enable CoreScript Debugger
Enable Http Sandboxing
Enable Internal Beta Features
Enable Internal Features
Enable Script Analysis
Enable Scrollbar Markers
Enable Signature Help
Enable Signature Help Doc View
Enable Temporary Tabs
Enable Temporary Tabs In Explorer
Enable Type Hover
EnableCodeAssist
EnableIndentationRulers
Error Color
Specifies the color of the wavy underline shown when malformed code is detected in the script editor.
Find Selection Background Color
Sets the highlight color of matches in the script editor's Find Selection operation (Ctrl+F).
Font
Specifies the font used in the script editor.
Format On Paste
Format On Type
FreeCameraSpeedScroll
Function Name Color
Highlight Current Line
Highlight Occurances
HintColor
Hover Animate Speed
Specifies how frequently the hover animation flashes when the mouse is hovering over a selectable object in the Workspace.
Hover Box Thickness
Hover Line Thickness
IconOverrideDir
Indent Using Spaces
IndentationRulerColor
InformationColor
LargeFileLineCountThreshold
LargeFileThreshold
Line Thickness
Sets the thickness of the Model.PrimaryPart selection adornee. This value is constrained between 0 and 0.05.
LoadAllBuiltinPluginsInRunModes
LoadUserPluginsInRunModes
LocalAssetsFolder
LuaDebuggerEnabled
Specifies whether or not the Lua Debugger feature is enabled.
LuaDebuggerEnabledAtStartup
Luau Keyword Color
Main Volume
Matching Word Background Color
Sets the highlight color of double-clicked variables in the script editor.
Maximum Output Lines
The maximum number of lines that can be displayed in the output.
Menu Item Background Color
Method Color
Number Color
Specifies the color of numbers in Roblox Studio's script editor.
Only Play Audio from Window in Focus
If set to true, audio being played will only be heard if the game window is being focused on.
Operator Color
Sets the text color of operator characters in the script editor.
Output Font
Specifies the font used by the output.
PermissionLevelShown
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
Pivot Snap To Geometry Color
PluginDebuggingEnabled
PluginsDir
The directory where local plugins are stored.
Primary Text Color
Property Color
ReloadBuiltinPluginsOnChange
ReloadLocalPluginsOnChange
Respect Studio shortcuts when game has focus
When set to true, Roblox Studio shortcuts will take priority over inputs being captured in the game window.
Ruler Color
Rulers
RuntimeUndoBehavior
Script Editor Color Preset
Script Editor Scrollbar Background Color
Script Editor Scrollbar Handle Color
ScriptTimeoutLength
The time (in seconds) a script can wait to be resumed before timing out.
Scroll Past Last Line
Secondary Text Color
Select Color
The color of the selection box used with object selections in the Workspace
Selected Menu Item Background Color
Selected Text Color
Selection Background Color
Sets the background color of selected text in the script editor.
Selection Box Thickness
Selection Color
Sets the text color of selected text in the script editor.
Selection Line Thickness
Server Audio Behavior
An unused Roblox Studio setting that does not appear to have any functionality.
Set Pivot of Imported Parts
Show Core GUI in Explorer while Playing
If set to true, the CoreGui will be visible in the Explorer while the game is running.
Show Diagnostics Bar
If set to true, basic diagnostic information is shown in the bottom right.
Show FileSyncService
Show Hidden Objects in Explorer
Show Hover Over
If set to true, hovering over an object in the Workspace will show a selection box.
Show Light Guides
Show Navigation Labels
Show Navigation Mesh
When set to true, the navigation mesh used by the PathfindingService will be visualized.
Show Pathfinding Links
Show Plugin GUI Service in Explorer
When set to true, the PluginGuiService will be shown in Roblox Studio's explorer.
Show Singly Selected Attachment Parent Frame
Show Whitespace
Show plus button on hover in Explorer
ShowCorePackagesInExplorer
Skip Closing Brackets and Quotes
String Color
Specifies the color of strings in the script editor.
Tab Width
Specifies how many spaces are used to represent a tab in the script editor.
Text Color
Specifies the color of normal text in the script editor.
Theme
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
Warning Color
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
Metodi
GetAvailableThemes
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
local themes = settings().Studio:GetAvailableThemes()
for _, theme in pairs(themes) do
print(theme)
end
Eventi
ThemeChanged
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.