# Void

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

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Ported for Multiplayer Compatibility (0.10)</strong></td><td>Destroy blocks and/or assets colliding within a specified area during gameplay</td><td><a href="/files/b7LWx5LKvyCtAZsd6Woh">/files/b7LWx5LKvyCtAZsd6Woh</a></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>

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

## ![](/files/5UsXpmB7Qxzb14eeyrpb) Void <mark style="color:yellow;">\[MP]</mark>

* Destroys specified blocks and/or assets during gameplay

## Common Uses

* Destroying specific types of blocks to reveal something
* Opening the way to new areas that can't be accessed any other way
* Removing block layers to make it appear like water, lava, etc. is flowing

## Communications

<table data-header-hidden><thead><tr><th width="278"></th><th></th></tr></thead><tbody><tr><td><p><strong>Inputs:</strong></p><p>Message received (or automatically on start)</p></td><td><p><strong>Outputs:</strong></p><p>Removes specified blocks or assets specified (no destroy animation)</p></td></tr></tbody></table>

<img src="/files/5tn1kimQsrmd8b0hjJAc" alt="" class="gitbook-drawing">

## Parameters

| Options                          | Details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](/files/Q66FyjQxYcYWKkkEuQfU) | **Visible** - Determines whether the Object is visible or invisible.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ![](/files/xdBvrPlxJAAdtSlPMGLT) | <p><strong>Destroy Area</strong> - Determines the area in which the specified blocks and/or assets should be destroyed.<br><br>This parameter is visualised with a <mark style="color:red;"><strong>red</strong></mark> cube Gizmo that adjusts as you enter new <mark style="color:red;"><strong>X</strong></mark>, <mark style="color:green;"><strong>Y</strong></mark>, and <mark style="color:blue;"><strong>Z</strong></mark> values.</p>                                                                                                           |
| ![](/files/6dapy7OEmXUXeWUMROGQ) | <p><strong>Activation Mode</strong> - Determines how the behaviour will be activated.<br><br><em><mark style="color:green;">OnStart</mark></em> - The behaviour will destroy the blocks/assets immediately when the game starts.<br><br><em><mark style="color:blue;">OnReceiveMessage</mark></em> - The behaviour will destroy the blocks/assets upon receiving a message. You may specify which message from a drop-down menu.</p>                                                                                                                     |
| ![](/files/9GzuupkEDz5pkGVlV08F) | <p><strong>Blocks Destruction</strong> - Allows you to choose what blocks to destroy, if any.<br><br><em><mark style="color:red;">Don't Destroy</mark></em> - The Void will not destroy any blocks upon activation.<br><br><em><mark style="color:blue;">DestroyAllExceptFromList</mark></em> - The Void will destroy all blocks in range except for the blocks added to your list (see below).<br><br><em><mark style="color:green;">OnlyDestroyFromList</mark></em> - The Void will destroy all blocks of the type added to your list (see below).</p> |
| ![](/files/y0heo11HfhTHKQs2YArH) | *<mark style="color:green;">**Blocks List**</mark>* - This list lets you add blocks that the Void should or should not destroy on activation (depending on which setting was used above).                                                                                                                                                                                                                                                                                                                                                                |
| ![](/files/67lODXPxvZpkHpDSWVBv) | <p><strong>Asset Destruction</strong> - Allows you to choose what assets to destroy, if any.<br><br><em><mark style="color:red;">Don't Destroy</mark></em> - The Void will not destroy any assets upon activation.<br><br><em><mark style="color:blue;">DestroyAllExceptFromList</mark></em> - The Void will destroy all assets in range except for the assets added to your list (see below).<br><br><em><mark style="color:green;">OnlyDestroyFromList</mark></em> - The Void will destroy all assets of the type added to your list (see below).</p>  |
| ![](/files/0GmGForEgIQHNIhN4ssz) | *<mark style="color:green;">**Assets List**</mark>* - This list lets you add assets that the Void should or should not destroy on activation (depending on which setting was used above).                                                                                                                                                                                                                                                                                                                                                                |


---

# 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/behaviours/modifiers/void.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.
