> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/tasks/object/destroy.md).

# Destroy

Node description and basic instructions

### 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&amp;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 %}
