> For the complete documentation index, see [llms.txt](https://docs.sandbox.game/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sandbox.game/en/creator/game-maker/docs/components/actions/drop.md).

# Drop

Allows things to be dropped on the floor when the Object dies or is triggered.

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

## ![](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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sandbox.game/en/creator/game-maker/docs/components/actions/drop.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
