# 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 %}
