> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/event_listeners.md).

# Event Listeners

Use `script.addListener` to react to game events. All listeners must be registered during script initialization.

#### Basic Usage

```js
script.addListener("EventName", (event) => {
    // handle event
});
```

{% content-ref url="<https://github.com/LoseBypass/breeze-docs/blob/main/docs/api/events/README.md>" %}
<https://github.com/LoseBypass/breeze-docs/blob/main/docs/api/events/README.md>
{% endcontent-ref %}
