ScriptVariableScope
Indicates the scope category of a variable returned by the debugger.
Items 3
| History | Name | Value | Description | |
|---|---|---|---|---|
| 721 | Local | 0 | A local variable declared in the current function scope. | |
| 721 | Upvalue | 1 | A variable captured from an enclosing function scope. | |
| 721 | Global | 2 | A global variable. |
Description
Used in ScriptVariable to classify the scope of a variable returned by ScriptDebuggerService:GetRootVariables() or ScriptDebuggerService:GetVariables(). Children of a variable inherit the parent's scope.