> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/variables-literals/scope.md).

# Scope

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-ef5407659482fe77ef5ae9134ffd210e971107d7%2Fscope.JPG?alt=media)

## 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. |
