# Container.clear

Clears out the contents of the container.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
container:clear(  )
```

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

**Availability:** Server only

**Parameters:**

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