# ScriptableObject.destroy

Destroys a scriptable Object.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `scriptableObject` | [ScriptableObject](../Game-Script-Environment/Userdata/ScriptableObject.md) | The scriptable object. |
