# Graph

The **Graph** option allows you to create an empty GameObject that automatically contains the **'Script Machine'** component. This component is essential for managing Unity Visual Scripting graphs, serving as the foundation for attaching and executing visual scripts. The **Script Machine** acts as a container for the visual script logic, enabling the integration of node-based workflows directly within your Unity project.

By using the **Graph** option, you can easily set up a new script that interacts with the Unity Visual Scripting environment, allowing for seamless control over game events, behaviors, and interactions. The **Script Machine** provides an intuitive way to link and manage graph assets, making it an indispensable tool for creating complex game mechanics without writing code.

<figure><img src="/files/MpQHIBOcjaqPgcFNPPOz" 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/graph.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.
