---
description: Node description and basic instructions
---

# Destroy

### Description

Destroys a gameobject, component or asset.

The object _obj_ will be destroyed now or if a time is specified _t_ seconds from now.

**To create it**, right-click on free space in AI Tree inspector and select <mark style="color:purple;">Create Node/Tasks/Object/Destroy.</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2Fm94PIbcYagaYxWth8vDX%2FObj1.png?alt=media&#x26;token=772b6da2-a469-43d2-aed5-0dc858021731" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                            |
| ----------------- | -------------------------------------- |
| Node Name         | Name of node                           |
| Ignore About Self | Whether node ignores abort self or not |
| Target            | Target you want to destroy             |

{% hint style="info" %}
Actual object destruction is always delayed until after the current Update loop, but will always be done before rendering.
{% endhint %}
