# sm.container.moveAll

Moves the content from one container to another.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.container.moveAll( container, container, moveAll? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.container.md#moveall)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `container` | [Container](../Game-Script-Environment/Userdata/Container.md) | The source container. |
| `container` | [Container](../Game-Script-Environment/Userdata/Container.md) | The destination container. |
| `moveAll` *(optional)* | boolean | If true, requires that all items can be moved. Defaults to true. (Optional) |
