I’m working on a drag and drop inventory and I’ve mostly got it working using the built-in drag and drop interface. I just have a few questions regarding it.
I’d like the drag and drop operation to end when the player closes the inventory. There seems to be a “End Drag Drop” command but it uses the event reply structure which I do not understand and there is pretty much no documentation for it. For now I’m just setting a boolean on the payload that doesn’t allow it to be placed when “On Drop” is called when the player closes the inventory then scaling the visual down to 0 so it can’t be seen, but it’s obvious that the drag/drop operation is still happening. How can I force it to stop?
I’m using a custom mouse, but when I drag/drop the software mouse ends up behind the drag/drop visual and the hardware mouse is on top. So how can I A) make sure the hardware mouse does not appear and B) keep the software mouse above the drag/drop visual?
Thanks to anyone who can answer!