# Sandbox.BaseInventoryComponent.FindEmptySlot

```csharp
int FindEmptySlot()
```

Returns the first empty slot index, or -1 if the inventory is full.

### Returns

`int`

Declared in [Sandbox.BaseInventoryComponent](/api/Sandbox.BaseInventoryComponent).
Assembly: `Sandbox.Engine`.
