Skip to main content

Droppables




A FoundryVTT module that allows you to drag and drop an entire folder of tokens or journal entries onto the canvas, upload files for tokens, tiles, sounds, or notes, and drop files directly onto sidebar directories to create the matching documents.

Overview​

Droppables extends what Foundry accepts on a drag and drop. A folder of actors or journal entries can be dropped onto the canvas to place all of its contents at once. A file dropped onto the canvas is uploaded and turned into a token, tile, sound, or note depending on the active layer. A file dropped onto a sidebar directory creates a document of that type with the file assigned, and an exported .json file dropped the same way is imported.

Features​

  • Easily drop entire folders of actors onto the canvas in a stack, line, or randomly
  • Easily drop folders of notes onto the canvas
  • Drop a file onto the canvas to upload it and automatically create a document based on the active layer:
    • Token layer - dropped images as new actors and tokens, prompting for the subtype
    • Tile layer - dropped images or videos as tiles
    • Sound layer - dropped audio files as ambient sounds
    • Notes layer - dropped images, PDFs, videos, or text files as a journal entry pinned to the canvas
  • Drop images directly from browsers to automatically set the images for tokens, tiles, or notes
  • Drop a file onto a sidebar directory or an open compendium to upload it and automatically create a document of that type with the file assigned:
    • Actors and Items - dropped images, prompting for the subtype
    • Scenes - dropped images as the scene background
    • Journal - dropped images, PDFs, videos, or text files as journal entry pages
    • Playlists - dropped audio files as playlist sounds
    • Roll Tables, Cards, and Macros - dropped images
  • Drop an exported .json file onto its sidebar directory or an open compendium to import it as a new document

Settings​

SettingScopeDefaultDescription
Drop StyleClientDialogHow the contents of a dropped folder are arranged on the canvas.
Enable Unlinked Actor Drop HandlerClientDisabledShow a dialog asking how many tokens to drop when dropping an unlinked actor onto the canvas.
Enable Canvas Drag/UploadClientEnabledAllow dragging and uploading tokens, tiles, audio, and journal entries onto the canvas based on the active layer.
Enable Sidebar Drag/UploadClientEnabledAllow dropping files onto a sidebar directory to create a document of that type. Media is uploaded and assigned, .json exports are imported.

Drop Style accepts:

  • Dialog - prompt for one of the options below each time
  • Stack - drop everything on the same spot
  • Random - scatter across the canvas
  • Horizontal Line - arrange left to right
  • Vertical Line - arrange top to bottom
tip

Hold Shift while dropping an unlinked actor to show the Enable Unlinked Actor Drop Handler dialog, even when the setting is off.

Examples​

Folder Dropping​

Dropping a folder of actors onto the canvas as a line Dropping a folder of journal entries onto the canvas as pins

File Dropping on Token Layer​

Dropping an image file onto the token layer

File Dropping on Tiles Layer​

Dropping an image file onto the tiles layer

File Dropping on Sounds Layer​

Dropping an audio file onto the sounds layer

File Dropping on Notes Layer​

Dropping an image file onto the notes layer

File Dropping on a Sidebar Directory​

Dropping an image file onto the Actors directory