Edit

EntityItemPickupBeforeEvent Class

Contains information related to an entity picking up an item.

Properties

cancel

cancel: boolean;

If set to true the item will not be picked up.

Type: boolean

entity

read-only entity: Entity;

The entity that will pick up the item.

Type: Entity

item

read-only item: Entity;

The item that will be picked up.

Type: Entity