Studioクラス

クラスサービス(game:GetService("Studio")で取り出す)Instance.newでは作れない日本語解説は準備中

ひとことで言うと

Studioは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Represents Roblox Studio's script editor settings.

クラスの関係

受け継いでいるクラス:Object → Instance → Studio

プロパティ(117)

名前と書き方説明
"function" Color
Studio."function" Color: Color3
Sets the color of the function keyword in the script editor.
"local" Color
Studio."local" Color: Color3
Sets the color of the local keyword in the script editor.
"nil" Color
Studio."nil" Color: Color3
Sets the color of the nil keyword in the script editor.
"self" Color
Studio."self" Color: Color3
Sets the color of the self keyword in the script editor.
"TODO" Color
Studio."TODO" Color: Color3
Sets the color of TODO comments in the script editor.
ActionOnStopSync
Studio.ActionOnStopSync: ActionOnStopSync
Sets the action Studio takes when stopping file sync.
Active Color
Studio.Active Color: Color3
Sets the color of active UI elements in Studio.
Active Hover Over Color
Studio.Active Hover Over Color: Color3
Sets the color of active UI elements when hovered in Studio.
Always Save Script Changes
Studio.Always Save Script Changes: boolean
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
Studio.Animate Hover Over: boolean
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
Studio.Auto Clean Empty Line: boolean
Controls whether trailing whitespace is automatically removed from empty lines in the script editor.
Auto Closing Brackets
Studio.Auto Closing Brackets: boolean
Controls whether the script editor automatically inserts a matching closing bracket.
Auto Closing Quotes
Studio.Auto Closing Quotes: boolean
Controls whether the script editor automatically inserts a matching closing quote.
Auto Delete Closing Brackets and Quotes
Studio.Auto Delete Closing Brackets and Quotes: boolean
Controls whether deleting an opening bracket or quote also removes its closing counterpart.
Auto Indent Rule
Studio.Auto Indent Rule: AutoIndentRule
Sets the rule used to determine automatic indentation in the script editor.
Auto-Recovery Enabled
Studio.Auto-Recovery Enabled: boolean
Controls whether Studio automatically saves recovery files at a set interval.
Auto-Recovery Interval (Minutes)
Studio.Auto-Recovery Interval (Minutes): int
Sets the interval in minutes at which Studio saves auto-recovery files.
AutoResumeSyncOnPlaceOpen
Studio.AutoResumeSyncOnPlaceOpen: boolean
Controls whether file sync resumes automatically when a place is opened.
Background Color
Studio.Background Color: Color3
Specifies the background color of Roblox Studio's script editor.
Basic Objects Display Mode
Studio.Basic Objects Display Mode: ListDisplayMode
Sets the scrolling mode of the Advanced Objects tab in Roblox Studio.
Bool Color
Studio.Bool Color: Color3
Sets the color of boolean literals in the script editor.
Bracket Color
Studio.Bracket Color: Color3
Sets the color of brackets in the script editor.
Built-in Function Color
Studio.Built-in Function Color: Color3
Sets the color of built-in functions and keywords in the script editor.
Camera Mouse Wheel Speed
Studio.Camera Mouse Wheel Speed: float
Sets how many studs the camera will move forward or backwards when using the mouse wheel.
Camera Shift Speed
Studio.Camera Shift Speed: float
Sets the speed in studs/sec that the camera moves while holding down Shift with the movement keys.
Camera Speed
Studio.Camera Speed: float
Sets the speed in studs/sec that the camera moves when movement keys are pressed.
Camera Zoom to Mouse Position
Studio.Camera Zoom to Mouse Position: boolean
Controls whether the camera zooms toward the mouse cursor position.
Clear Output On Start
Studio.Clear Output On Start: boolean
If set to true, the output will be automatically cleared when game sessions are switched.
CommandBarLocalState
Studio.CommandBarLocalState: boolean
Controls whether the command bar retains its input state between sessions.
Comment Color
Studio.Comment Color: Color3
Specifies the color of comments in Roblox Studio's script editor.
Current Line Highlight Color
Studio.Current Line Highlight Color: Color3
Sets the color of the current line highlight in the script editor.
Debugger Current Line Color
Studio.Debugger Current Line Color: Color3
Sets the color of the current debugger line in the script editor.
Debugger Error Line Color
Studio.Debugger Error Line Color: Color3
Sets the color of debugger error lines in the script editor.
DefaultInstancesDir
Studio.DefaultInstancesDir: QDir
Sets the default directory where Studio saves instance files.
DeprecatedObjectsShown
Studio.DeprecatedObjectsShown: boolean
If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.
Enable Autocomplete
Studio.Enable Autocomplete: boolean
When set to true, the script editor and command bar will show an autocomplete menu while writing.
Enable CoreScript Debugger
Studio.Enable CoreScript Debugger: boolean
Controls whether the CoreScript debugger is available in Studio.
Enable Http Sandboxing
Studio.Enable Http Sandboxing: boolean
Controls whether HTTP requests from plugins are sandboxed.
Enable Internal Beta Features
Studio.Enable Internal Beta Features: boolean
Controls whether internal beta features are accessible in Studio.
Enable Internal Features
Studio.Enable Internal Features: boolean
Controls whether internal developer features are accessible in Studio.
Enable Temporary Tabs
Studio.Enable Temporary Tabs: boolean
Controls whether opening a script creates a temporary tab that is replaced on the next open.
Enable Temporary Tabs In Explorer
Studio.Enable Temporary Tabs In Explorer: boolean
Controls whether clicking a script in the Explorer opens it in a temporary tab.
Error Color
Studio.Error Color: Color3
Specifies the color of the wavy underline shown when malformed code is detected in the script editor.
Find Selection Background Color
Studio.Find Selection Background Color: Color3
Sets the highlight color of matches in the script editor's Find Selection operation (Ctrl+F).
Font
Studio.Font: QFont
Specifies the font used in the script editor.
Format On Paste
Studio.Format On Paste: boolean
Controls whether pasted code is automatically formatted in the script editor.
Format On Type
Studio.Format On Type: boolean
Controls whether code is automatically formatted as you type in the script editor.
Function Name Color
Studio.Function Name Color: Color3
Sets the color of function names in the script editor.
Highlight Current Line
Studio.Highlight Current Line: boolean
Controls whether the current line is highlighted in the script editor.
Highlight Occurances
Studio.Highlight Occurances: boolean
Controls whether other occurrences of the word under the cursor are highlighted.
HintColor
Studio.HintColor: Color3
Sets the color of hint diagnostics in the script editor.
Hover Animate Speed
Studio.Hover Animate Speed: HoverAnimateSpeed
Specifies how frequently the hover animation flashes when the mouse is hovering over a selectable object in the Workspace.
Hover Box Thickness
Studio.Hover Box Thickness: float
Sets the thickness of the selection box shown when hovering over objects.
Hover Line Thickness
Studio.Hover Line Thickness: int
Sets the line thickness of the hover selection box.
Hover Over Color
Studio.Hover Over Color: Color3
Specifies the color that the hover selection box uses.
Indent Using Spaces
Studio.Indent Using Spaces: boolean
Controls whether the script editor uses spaces instead of tabs for indentation.
InformationColor
Studio.InformationColor: Color3
Sets the color of information diagnostics in the script editor.
Keyword Color
Studio.Keyword Color: Color3
Sets the text color of built-in Luau keywords.
Line Thickness
Studio.Line Thickness: float
Sets the thickness of the Model.PrimaryPart selection adornee. This value is constrained between 0 and 0.05.
LoadInternalPlugins
Studio.LoadInternalPlugins: boolean
Controls whether internal Roblox plugins are loaded in Studio.
LocalAssetsFolder
Studio.LocalAssetsFolder: QDir
Sets the local folder Studio uses for local asset storage.
LuaDebuggerEnabled
Studio.LuaDebuggerEnabled: boolean
Specifies whether or not the Lua Debugger feature is enabled.
Luau Keyword Color
Studio.Luau Keyword Color: Color3
Sets the color of Luau-specific keywords in the script editor.
Matching Word Background Color
Studio.Matching Word Background Color: Color3
Sets the highlight color of double-clicked variables in the script editor.
Maximum Output Lines
Studio.Maximum Output Lines: int
The maximum number of lines that can be displayed in the output.
Method Color
Studio.Method Color: Color3
Sets the color of method names in the script editor.
Number Color
Studio.Number Color: Color3
Specifies the color of numbers in Roblox Studio's script editor.
Only Play Audio from Window in Focus
Studio.Only Play Audio from Window in Focus: boolean
If set to true, audio being played will only be heard if the game window is being focused on.
Operator Color
Studio.Operator Color: Color3
Sets the text color of operator characters in the script editor.
Output Font
Studio.Output Font: QFont
Specifies the font used by the output.
Output Layout Mode
Studio.Output Layout Mode: OutputLayoutMode
Sets the layout mode of the output.
PermissionLevelShown
Studio.PermissionLevelShown: PermissionLevelShown
Sets the highest permission level that APIs have to have in order to be shown in the Object Browser. See PermissionLevelShown for more info.
Pivot Snap To Geometry Color
Studio.Pivot Snap To Geometry Color: Color3
Sets the color of the pivot snap-to-geometry indicator in Studio.
PluginsDir
Studio.PluginsDir: QDir
The directory where local plugins are stored.
PreferredTextSize
Studio.PreferredTextSize: PreferredTextSize
Sets the preferred font size in the script editor.
Primary Text Color
Studio.Primary Text Color: Color3
Sets the primary text color in Studio.
Property Color
Studio.Property Color: Color3
Sets the color of property names in the script editor.
ReloadBuiltinPluginsOnChange
Studio.ReloadBuiltinPluginsOnChange: boolean
Controls whether built-in plugins are automatically reloaded when their files change.
ReloadLocalPluginsOnChange
Studio.ReloadLocalPluginsOnChange: boolean
Controls whether local plugins are automatically reloaded when their files change.
Respect Studio shortcuts when game has focus
Studio.Respect Studio shortcuts when game has focus: boolean
When set to true, Roblox Studio shortcuts will take priority over inputs being captured in the game window.
Ruler Color
Studio.Ruler Color: Color3
Sets the color of the column ruler in the script editor.
Rulers
Studio.Rulers: string
Sets the column positions at which vertical ruler lines are drawn in the script editor.
RuntimeUndoBehavior
Studio.RuntimeUndoBehavior: RuntimeUndoBehavior
Sets how Studio handles undo operations during runtime playback.
Script Editor Color Preset
Studio.Script Editor Color Preset: StudioScriptEditorColorPresets
Sets the color preset applied to the script editor.
Script Editor Scrollbar Background Color
Studio.Script Editor Scrollbar Background Color: Color3
Sets the background color of the script editor scrollbar in Studio.
Script Editor Scrollbar Handle Color
Studio.Script Editor Scrollbar Handle Color: Color3
Sets the handle color of the script editor scrollbar in Studio.
ScriptTimeoutLength
Studio.ScriptTimeoutLength: int
The time (in seconds) a script can wait to be resumed before timing out.
Scroll Past Last Line
Studio.Scroll Past Last Line: boolean
Controls whether the script editor allows scrolling below the last line.
Secondary Text Color
Studio.Secondary Text Color: Color3
Sets the secondary text color in Studio.
Select Color
Studio.Select Color: Color3
The color of the selection box used with object selections in the Workspace.
Select/Hover Color
Studio.Select/Hover Color: Color3
Sets the color of the Model.PrimaryPart selection box.
Selected Text Color
Studio.Selected Text Color: Color3
Sets the color of selected text in Studio.
Selection Background Color
Studio.Selection Background Color: Color3
Sets the background color of selected text in the script editor.
Selection Box Thickness
Studio.Selection Box Thickness: float
Sets the thickness of the selection box around selected objects.
Selection Color
Studio.Selection Color: Color3
Sets the text color of selected text in the script editor.
Selection Line Thickness
Studio.Selection Line Thickness: int
Sets the line thickness of the selection box around selected objects.
Set Pivot of Imported Parts
Studio.Set Pivot of Imported Parts: boolean
Sets whether the pivot point is repositioned when parts are imported.
Show Core GUI in Explorer while Playing
Studio.Show Core GUI in Explorer while Playing: boolean
If set to true, the CoreGui will be visible in the Explorer while the game is running.
Show Diagnostics Bar
Studio.Show Diagnostics Bar: boolean
If set to true, basic diagnostic information is shown in the bottom right.
Show FileSyncService
Studio.Show FileSyncService: boolean
Controls whether FileSyncService is shown in the Explorer panel.
Show Hidden Objects in Explorer
Studio.Show Hidden Objects in Explorer: boolean
Controls whether hidden objects are visible in the Explorer panel.
Show Hover Over
Studio.Show Hover Over: boolean
If set to true, hovering over an object in the Workspace will show a selection box.
Show Plugin GUI Service in Explorer
Studio.Show Plugin GUI Service in Explorer: boolean
When set to true, the PluginGuiService will be shown in Roblox Studio's explorer.
Show plus button on hover in Explorer
Studio.Show plus button on hover in Explorer: boolean
Controls whether a plus button appears when hovering over items in the Explorer.
Show Whitespace
Studio.Show Whitespace: boolean
Controls whether whitespace characters are shown as visible glyphs in the script editor.
Skip Closing Brackets and Quotes
Studio.Skip Closing Brackets and Quotes: boolean
Controls whether the cursor skips over a typed closing bracket or quote if one already exists.
String Color
Studio.String Color: Color3
Specifies the color of strings in the script editor.
Tab Width
Studio.Tab Width: int
Specifies how many spaces are used to represent a tab in the script editor.
Text Color
Studio.Text Color: Color3
Specifies the color of normal text in the script editor.
Text Wrapping
Studio.Text Wrapping: boolean
If set to true, text in the script editor will be wrapped.
Theme
Studio.Theme: StudioTheme
Used to get/set current Class.StudioTheme|theme used by Studio.
TypeColor
Studio.TypeColor: Color3
Sets the color of type annotations in the script editor.
Warning Color
Studio.Warning Color: Color3
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
Studio.Whitespace Color: Color3
Sets the color of visible whitespace characters in the script editor.

メソッド(1)

名前と書き方説明
GetAvailableThemes
Studio:GetAvailableThemes(): Array
Returns a list of Class.StudioTheme|themes available in Studio.

イベント(1)

名前と書き方説明
ThemeChanged
Studio.ThemeChanged()
Event called when Studio's Class.StudioTheme|theme changes.

受け継いでいるメンバー

Instance から受け継いでいるもの(46)

Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged

Object から受け継いでいるもの(4)

ClassName・GetPropertyChangedSignal・IsA・Changed

英語の説明とメンバーの一覧は、Roblox Creator Documentation(Studio)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む