ScriptVariableScope¶
Not yet Enum
Indicates the scope category of a variable returned by the debugger.
Not implemented in Nova
This enum is missing from Nova. Scripts that reference it will fail.
Description¶
Used in Datatype.ScriptVariable to classify the scope of a variable returned
by ScriptDebuggerService.GetRootVariables() or
ScriptDebuggerService.GetVariables(). Children of a variable inherit
the parent's scope.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Local |
0 | Not yet | A local variable declared in the current function scope. |
Upvalue |
1 | Not yet | A variable captured from an enclosing function scope. |
Global |
2 | Not yet | A global variable. |
Roblox reference: ScriptVariableScope