# Unit.destroy

Destroy a unit

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `unit` | [Unit](../Game-Script-Environment/Userdata/Unit.md) | The unit. |
