> 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/integrations/photon-network/network-destroy.md).

# Network Destroy

Node description and basic instructions

Uses Photon engine to destroy object on network scene.

{% hint style="warning" %}
In order for it to work, it is necessary that the scenes have a gameobject with [**Photon View**](#photon-view) component.
{% endhint %}

***

To create it, right-click on free space in Behaviour Tree window and select:&#x20;

* <mark style="color:purple;">**Create Node/Tasks/Integrations/Photon/Network Debug**</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%2FTE4S1jDgr8gLPdd7bTIs%2Fimage_2023-08-03_10-10-16.png?alt=media&amp;token=1ad5a525-1002-48e1-bef8-dd3e7a0bba13" alt=""><figcaption></figcaption></figure>

### Fields

<table><thead><tr><th width="374">Name</th><th>Description</th></tr></thead><tbody><tr><td>Node Name</td><td>Custom name of node.</td></tr><tr><td>Ignore Abort Self</td><td>Whether node ignores abort self or not.</td></tr><tr><td>Target</td><td>Reference of object to destroy.</td></tr></tbody></table>

***

## Photon View

Required componet for Photon Engine destroy node.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2Fd2G87uAq7rOSRNmmLS51%2FPhotonView.png?alt=media&amp;token=14a8a06a-e2f8-4970-85b0-18e74a866b35" alt=""><figcaption></figcaption></figure>
