# PlayerDropItem

Example usage:

```lua
Events.PlayerDropItem(function(event)
    if (event.itemType == ItemType.TENNIS_BALL) then
        event.cancelled = true
        MessageService.sendInfo(event.player, "Be more careful! Those can explode!")
    end
end)
```

### Parameters

#### player: [Player](https://docs.easy.gg/scripting/bedwars-scripting/objects/player)

The player that is dropping the item.

#### itemType: [ItemType](https://docs.easy.gg/scripting/bedwars-scripting/types/itemtype)

The type of item being dropped by the player.

#### amount: number

The amount of the item being dropped by the player.

#### cancelled: bool <mark style="color:yellow;">\[modifiable]</mark>

If set to true, the item drop event will be cancelled.
