Skip to main content

CancelledUsingItem

Gets called when the player has cancelled the use of an item.

Start a script section

!-- OnEvent CancelledUsingItem
-- require @evPlayer *evUsableItem

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerCancelledUsingItemEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who cancelled using the item.
*evUsableItemreference to UsableItem objectGets the item which the player cancelled using.