# Trigger Volume

{% hint style="success" %}
**COPY/PASTE PARAMETERS**

New in GM 0.11! Right click on a behaviour or component to copy. Then open an object, add the same behaviour or component, and right click it to paste identical parameter settings.
{% endhint %}

<figure><img src="/files/u85tAdHXTik8yeMDtlE5" alt=""><figcaption><p>Shown: Send a message to kill the avatar and respawn when they enter a defined volume.</p></figcaption></figure>

{% hint style="info" %}
[Build Singleplayer & Multiplayer Logic](/en/creator/game-maker/docs/build-singleplayer-and-multiplayer-logic.md) - about <mark style="color:green;">**\[SP]**</mark> or <mark style="color:yellow;">**\[MP]**</mark> behaviours or components
{% endhint %}

## <img src="/files/UVqX8yjtTAyLw6SwCmtt" alt="" data-size="line"> Trigger Volume <mark style="color:green;">\[SP]</mark> <mark style="color:yellow;">\[MP]</mark>

Create a box or sphere shaped volume to detect when specified actors enter or exit the volume. Send an enter message and exit message.

## Common Uses

* Triggering other logic based on player location inside/outside of a defined space (e.g., entering a pool, entering a boss fight room, etc.)
* Broadcasting an enter/exit message to the triggering actor
* Sending an instant kill message and respawning players at a checkpoint when they venture into areas outside the bounds of intended gameplay

## Communications

| **Inputs:** One or more defined actors are detected entering or exiting the volume | **Outputs:** a message is sent |
| ---------------------------------------------------------------------------------- | ------------------------------ |

## Parameter Notes

<figure><img src="/files/nfR6pWjmgscvP5TyTT2l" 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.sandbox.game/en/creator/game-maker/docs/components/triggers/trigger-volume.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.
