# sm.container.moveAllToCarryContainer

Moves the content of input container to the player carry container and assigns the carry color.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.container.moveAllToCarryContainer( container, player, color )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `container` | [Container](../Game-Script-Environment/Userdata/Container.md) | The container to assign. |
| `player` | [Player](../Game-Script-Environment/Userdata/Player.md) | The player to receive the carry content and color. |
| `color` | [Color](../Game-Script-Environment/Userdata/Color.md) | The color to assign. |
