# Container.canCollectAll

Checks if the container can collect a set of items.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
container:canCollectAll( uuids, quantities )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `container` | [Container](../Game-Script-Environment/Userdata/Container.md) | The container. |
| `uuids` | table | The uuids of items to check. |
| `quantities` | table | The number of items of each uuid. Needs to match the number of uuids. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Indicates if the action is possible. |
