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