# Destroy Object

## Overview

![The Destroy Object Node.](/files/ba4CGkCKOslaW84VZOpF)

The **Destroy Object Node** deletes an **Object** or **Prefab Instance**, the latter of which means that the **Prefab** in the **Asset Manager** remains. All the children are destroyed as well.

[**Scope**](/incari-studio/toolbox/overview.md#scopes): **Scene**, **Function**, **Prefab**.

## Attributes

![The Destroy Object Node Attributes.](/files/HFsZg9Ek68ftciFjDVyY)

| Attribute | Type         | Description                                                               |
| --------- | ------------ | ------------------------------------------------------------------------- |
| `Object`  | **ObjectID** | The **Object** to delete, if one is not provided in the **Input Socket**. |

## Inputs

| Input             | Type         | Description                                                           |
| ----------------- | ------------ | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Object ID`       | **ObjectID** | The **Object** to delete.                                             |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Success`          | **Bool**  | Returns *true* or *false*, depending on whether the **Object** was successfully deleted or not.                                        |

## See Also

* [**Instantiate Object**](/incari-studio/toolbox/incari/object/instantiate.md)


---

# 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.incari.com/incari-studio/toolbox/incari/object/destroy.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.
