# Destroy Object

## Overview

![The Destroy Object Node.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-48a1a1cb2d22b1dd06a4a770b569f0266394a8c8%2Fdestroyobjectupdatedimage.png?alt=media)

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**](https://docs.incari.com/incari-studio/2023.1/overview#scopes): **Scene**, **Function**, **Prefab**.

## Attributes

![The Destroy Object Node Attributes.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-9e0775249688172c22e2f1e7b67b0589b3e0461a%2Fdestroyobjectattributes.png?alt=media)

| 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**](https://docs.incari.com/incari-studio/2023.1/toolbox/incari/object/instantiate)
