DropTarget in PSurface

Hi
I want my processing surface to receive drag and drop input like the DropTarget in Java. For example, if I grab an item from the desktop and release my mouse over the processing window, I want to get the path of the dropped file.

Hi @TimeLex

Go to Menu Sketch → Import Library → add library and search for Drop.
Usage can be found in File → Examples → Contributed Libraries → Drop (DropFilesAndFolders or DropBasics).

Cheers
— mnse

2 Likes

nice, this is exactly what I was searching for. Tanks