# Container

### Properties

#### windowId

> `readonly` **windowId**: `number`

Gets the window ID of the inventory, you can use this with the player controller to move items around.

### Methods

#### getSize()

> **getSize**(): `number`

Gets the size of the inventory.

**Returns**

`number`

***

#### getSlot()

> **getSlot**(`slot`): [`Slot`](https://scripting.breeze.rip/api/net/minecraft/inventory/slot)

Gets the ItemStack in the specified slot.

**Parameters**

**slot**

`number`

**Returns**

[`Slot`](https://scripting.breeze.rip/api/net/minecraft/inventory/slot)

The ItemStack
