> 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>" %}
