Skip to content

Enum

Enum.ScriptVariableScope

Indicates the scope category of a variable returned by the debugger.

Official docs ↗
ItemValueSummary
Enum.ScriptVariableScope.Local0A local variable declared in the current function scope.
Enum.ScriptVariableScope.Upvalue1A variable captured from an enclosing function scope.
Enum.ScriptVariableScope.Global2A global variable.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.