# Use, Store, and Drop Items

> For the complete documentation index, see [llms.txt](llms.txt).

Add menu actions to use one bandage, stow a lantern, and drop an item as a pickup. Start with a player who has a working Ability System Component, a [stackable bandage](inv-guide-inventory-items.html), and an [equipped lantern](inv-guide-equipment.html).

Procedure: Prepare the actions

1. Give the bandage a Consumable Fragment. Set its Consumable Effect to a Gameplay Effect the player can receive, such as restoring health. Choose the stack-charge use mode and set Quantity Per Use to one.

2. To make the bandage droppable, add a Drop Fragment. For Pickup Actor Class, assign an actor Blueprint that implements Inventory Pickup Interface on the actor itself. If it uses a pickup component, forward the interface functions to that component, including `SetPickupDefinitions`. The spawned pickup then receives the dropped stack's actual contents.

3. Grant the player abilities based on `InventoryAbility_Consume`, `InventoryAbility_Store`, and `InventoryAbility_Drop`. For a test without montages, enable Should Trigger Action on Missing Animation on the ability defaults. The Store example uses the lantern's existing Stored state.

Procedure: Send the selected item from the menu

1. On Use, call Send Gameplay Event to Actor on the player avatar with `Inventory.Event.Consume`. Set Optional Object in the payload to the selected live inventory item. In an item widget, obtain it from the item view's Get Source Item. The Consume ability listens for this event by default.

2. For Store and Drop, add a Gameplay Event trigger to each corresponding ability Blueprint. Use distinct project tags, for example `Game.Inventory.Command.Store` and `Game.Inventory.Command.Drop`. Send the matching event and selected item from each menu button. Leave fallback item queries empty if the command should affect only the selection.

To time an action to an animation, configure the ability's Trigger Policy and montage. When using an animation event, send the ability's configured event tag at the frame where the item should change. To customize which items qualify or what an action does, override `IsEligibleItem` or `ExecuteItemAction` in your ability subclass. A menu can also check the Consumable Fragment's `CanConsume` before enabling Use.

## Try It in Play

Use a bandage while injured and check both health and stack count. Select the lantern and try the same Use command. The bandage count should stay the same. Stow the equipped lantern and check its belt socket. Drop the remaining bandages and collect the pickup again. Its quantity should match what you dropped.

