# Event Simulator

In production environments, the overlay is injected into the game by the Elixir Launcher. However, this is difficult to replicate during development. This is why we have created the Event Simulator.

<figure><img src="/files/as50hfbtZmD6KQCI8dfA" alt=""><figcaption><p>You can simulate connectivity with the Overlay in the Unity Editor</p></figcaption></figure>

The simulator allows you to test your game's integration with the Elixir Overlay event buffer without leaving Unity Editor.

You can access it in the editor's toolbar by clicking on `Elixir -> Overlay Event Simulator`

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

The simulator will open and be in the "Stopped" state. If you wish to test your integration, run the game and click on `Simulate`.

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

If everything goes well, the status of the simulator will now change from "Stopped" to "Simulating".

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

You will now be able to use the event simulator to see incoming [events](/sdk/unity/overlay/event-simulator/sdk-events.md) and send events to the game impersonating the overlay.


---

# 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.elixir.app/sdk/unity/overlay/event-simulator.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.
