Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function hotbarDrop

    • A hook event that fires whenever data is dropped into a Hotbar slot. The hook provides a reference to the Hotbar application, the dropped data, and the target slot. Default handling of the drop event can be prevented by returning false within the hooked function.

      Parameters

      • hotbar: Hotbar

        The Hotbar application instance

      • data: object

        The dropped data object

      • slot: number

        The target hotbar slot

      Returns void