# Scope

![](/files/GFql5gd40LyVQVBqDjfs)

## Description

The variable scope at which a variable is stored. Local is stored in the script brain in which is was declared, whereas Global can be accessed from any script brain. Object is stored on each object in the game and must be accessed by providing an object to the variable node.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data.

## Inputs

| Input  | Type | Required | Description |
| ------ | ---- | -------- | ----------- |
| (none) |      |          |             |

## Outputs

| Output | Type    | Description                                                                                                            |
| ------ | ------- | ---------------------------------------------------------------------------------------------------------------------- |
| Scope  | Boolean | Local scope can only be accessed by the brain it is declared in. Global and Object scope can be accessed by any brain. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.thescriptersguild.com/scripting/nodes/variables-literals/scope.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
