> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/gameobject-interactions/ovrdestroyer.md).

# OvrDestroyer

Subclass of Ovr.OvrNode

### Description

This Node is used to correctly dispose of an Object present in the Scene.  Has the option to destroy either the target object or just its children.

#### Attributes

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th>Name</th><th width="179.2246866720682">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>DestroyType</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/gameobject-interactions/ovrdestroyer/ovrdestroytype.md">OvrDestroyType</a></td><td>Type of behaviour expected from this Component.</td></tr><tr><td>Target</td><td>GameObject</td><td>Target Object to destroy.</td></tr><tr><td>TimeBeforeDestroy</td><td>OvrFloat</td><td>Time, in seconds, before destruction.</td></tr></tbody></table>

![Example of OvrDestroy, focused on a specific target.](https://content.gitbook.com/content/6xdubHTzJACGqFIM7yJy/blobs/UDaYq6mPpUjg06F0r6wq/destroy.png)
