• Preparing search index...
  • The search index is not available
Foundry Virtual Tabletop - API Documentation - Version 13
  • Foundry Virtual Tabletop - API Documentation - Version 13
  • hookEvents
  • dropCanvasData

Function dropCanvasData

  • dropCanvasData(canvas: canvas.Canvas, data: any, event: DragEvent): void

    A hook event that fires when some useful data is dropped onto the Canvas.

    Parameters

    • canvas: canvas.Canvas

      The Canvas instance

    • data: any

      The data that has been dropped onto the Canvas, which includes the canvas coordinates (x, y) and the data return by foundry.applications.ux.TextEditor.implementation.getDragEventData

    • event: DragEvent

      The drag event

    Returns void

Settings

Member Visibility
Foundry Virtual Tabletop - API Documentation - Version 13
  • Loading...

Public API documentation for Foundry Virtual Tabletop version 13.346 Stable. © 2025 Foundry Gaming LLC. All Rights Reserved.