# Drop

{% 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="https://content.gitbook.com/content/83PS3g9zpWmq73xzlwFn/blobs/fT0Q0uj3WZy03myfOmKK/Drop.gif" alt=""><figcaption></figcaption></figure>

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

## ![](https://331512196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F83PS3g9zpWmq73xzlwFn%2Fuploads%2FgjIa5gmMlUBBT4vkEJbE%2Fimage.png?alt=media\&token=11f97d8d-24bf-46fb-9320-f518d20c2373) Drop <mark style="color:green;">\[SP]</mark> <mark style="color:yellow;">\[MP]</mark>

Allows the dropping of elements when receiving a message or when the asset is dead.

For example: kill an enemy and it drops a key that opens a secret door or gold coins for a quest.

## Common Uses

* Make enemies drop loot upon death.
* Spawn assets from other assets using messages.

## Parameters

| Options                                                                                        | Details                                                                                                                                                                                                                                                                |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://content.gitbook.com/content/83PS3g9zpWmq73xzlwFn/blobs/FISlTUxW4Z7tXEwO4Y5Q/1.png) | <p><strong>Drop Condition</strong> - Define how drop condition is triggered.<br><br><strong>Death</strong> <strong>-</strong> Object will drop upon death of this asset.<br><br><strong>Message -</strong> Object will drop when a message is sent to this object.</p> |
| ![](https://content.gitbook.com/content/83PS3g9zpWmq73xzlwFn/blobs/ZymI3gs3NECdJCHwOt5M/2.png) | **Random Offset** (slider) - Set the distance where the dropped object will randomly appear from this asset.                                                                                                                                                           |
| ![](https://content.gitbook.com/content/83PS3g9zpWmq73xzlwFn/blobs/TGB4L32gSGcxler45pk4/3.png) | **Type of drop** - Define if the object dropped is a preset or a behaviour.                                                                                                                                                                                            |
| ![](https://content.gitbook.com/content/83PS3g9zpWmq73xzlwFn/blobs/cbXEsKe2iZS51VeluMQh/4.png) | **Drop Delay** (slider) - Set delay (in seconds) before the objects dropped when conditions are met.                                                                                                                                                                   |
| ![](https://content.gitbook.com/content/83PS3g9zpWmq73xzlwFn/blobs/TwBvNF9ow1nVF7TdFXxZ/5.png) | *<mark style="color:green;">**Preset**</mark>* - Select the preset that will drop.                                                                                                                                                                                     |


---

# 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/actions/drop.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.
