> For the complete documentation index, see [llms.txt](https://docs.robpod.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.robpod.cloud/simulation/simulate-a-script.md).

# Simulate a Script

With Robpod Studio you can execute a robot script inside a simulation environment.

To simualte a robot script on the [connected simulator](/simulation/connect-a-simulator.md), select the script you want to execute and click on <img src="/files/I7y6Y5nf9aiOmzJ783wu" alt="" data-size="line"> **Simulator** -> ![](/files/iYMzbtX1utHAv7alO4zr)**Run On Simulator**.

<figure><img src="/files/7X26kQUSG1lGwg0deBF0" alt=""><figcaption></figcaption></figure>

This operation will open the target simualtion environment on your PC if not already opened.

If no robot instance is loaded inside the simulator you will be asked to select the robot model you want to use.

<figure><img src="/files/WfDdqcVJquhQtKsa8gKm" alt=""><figcaption></figcaption></figure>

The robot script will be then executed inside the simulation environment.

{% embed url="<https://www.youtube.com/watch?v=QkLcbun-G3I>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.robpod.cloud/simulation/simulate-a-script.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.
