# PathNode.destroy

Destroys a path node.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
pathNode:destroy(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/PathNode.md#destroy)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `node` | [PathNode](../Game-Script-Environment/Userdata/PathNode.md) | The path node to be destroyed. |
