# Sandbox.BaseInventoryComponent.ActiveItem

```csharp
BaseInventoryItem ActiveItem { get; set; }
```

The item that is currently active (deployed), or null when nothing is held. Setting this is
host authoritative - use [Sandbox.BaseInventoryComponent.Switch](/api/Sandbox.BaseInventoryComponent/Switch).

Declared in [Sandbox.BaseInventoryComponent](/api/Sandbox.BaseInventoryComponent).
Assembly: `Sandbox.Engine`.
