Skip to main content

DroppedItem

Gets called when the player has dropped an item.

Start a script section

!-- OnEvent DroppedItem
-- require @evPlayer *evPickup $evThrow

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who dropped the item.
*evPickupreference to Pickup objectGets the item pickup.
$evThrowbool valueGets or sets whether the Pickup will be thrown by the Player.