> For the complete documentation index, see [llms.txt](https://lucidious89-tutorials.gitbook.io/deluxe-battle-kit-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lucidious89-tutorials.gitbook.io/deluxe-battle-kit-tutorial/deluxe-battle-kit-for-v21.1/mid-battle-scripting/trigger-keys/triggers-item-usage.md).

# Triggers: Item Usage

These are keys which trigger upon a trainer using an item from their inventory.

* <mark style="background-color:purple;">**"BeforeItemUse"**</mark>\
  Triggers when a trainer chooses to use an item, but before the effects of that item are actually executed.<br>
* <mark style="background-color:purple;">**"AfterItemUse"**</mark>\
  Triggers after the effects of a trainer's used item are executed.

{% hint style="info" %}
Trigger Extensions: You may extend these keys with an item ID to specify that they should only trigger when a specific item is used. For example, <mark style="background-color:purple;">"BeforeItemUse\_POTION"</mark> would trigger only when a trainer is about to use a Potion.
{% endhint %}
