I've written a tutorial showing how to implementing a Drag & Drop system in an Hollywood display, it is not related to onDropFile
event, instead it shows you how you can arbitrary drag any objects on the screen over a target object, using a sprite to simulate the object dragging.
It is available for all Patrons, just subscribe the 1$ tier to access the only-Patrons feed and if you don't like it you can remove your subscription.
Here is an excerpt of the article :
Today I'd like to show you how to implement a basic drag & drop routine into your project using events.
Hollywood can natively handle drag & drop of files and folders inside its windows using the onDropFile event handler but the purpose of this tutorial is to drag and drop arbitrary objects laying inside an Hollywood display, these objects can be dropped on arbitrary areas of the screen.
To achieve this I've written a sample program where the screen is divided in two section: in the left section there is a box called target box, the place where the user can drop items, in the right side there are some draggable boxes that the user can drag and drop on the target box.
>> My Patreon page