Script API - v1.26.10
    Preparing search index...

    Class EntityItemPickupBeforeEvent

    Contains information related to an entity picking up an item.

    export class EntityItemPickupBeforeEvent {
    private constructor();
    cancel: boolean;
    readonly entity: Entity;
    readonly item: Entity;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    cancel: boolean

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

    This property can't be read in early-execution mode.

    entity: Entity

    The entity that will pick up the item.

    This property can't be read in early-execution mode.

    item: Entity

    The item that will be picked up.

    This property can't be read in early-execution mode.