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

    Function hoverObject

    • A hook event that fires when a foundry.canvas.placeables.PlaceableObject is hovered over or out. Substitute the PlaceableObject name in the hook event to target a specific PlaceableObject type, for example "hoverToken".

      Parameters

      • object: PlaceableObject

        The object instance.

      • hovered: boolean

        Whether the PlaceableObject is hovered over or not.

      Returns void