# Variables

The **Variables** option allows you to create a new GameObject that automatically includes the **'Scene Variables'** script. This script is crucial for managing and storing variables within your scene, making it easy to create, modify, and access data throughout your Unity project.

By using the **Scene Variables** script, you can define global variables that are accessible across multiple scripts and objects within the scene, allowing for better organization and control of game logic. It serves as a central hub for storing data such as player scores, health values, or any other dynamic data that needs to be shared between different systems.

The **Variables** option simplifies the process of variable management in Unity Visual Scripting, offering an intuitive way to handle and reference variables directly within the visual scripting environment. This makes it easy to create complex interactions and behaviors based on the data in your scene, without having to manually code variable handling.

<figure><img src="/files/1J9sP19M4rbfuHpboHXi" alt=""><figcaption></figcaption></figure>


---

# 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://docs.overthereality.ai/over-sdk-manual/sdk-window/unity-visual-scripting/variables.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.
