Prevent Drag & Drop Operation Happening On Multiple Elements At The Same Time.

Hey All,

I’ve got an inventory system i’m building and I’ve already got a drag and drop operation working to transfer items between slots. I also want to drag onto the Main HUD bit to drop inventory items, which I have working.

These only work separate however, when I combine them it fires off BOTH D&D operations

Has anyone ran into this and managed to figure out a solution. I’ve messed around with the zOrder but had no real luck.


I’ve included a terrible image example.

Green → Green. “On Drop Override on Inventory Square”. Works

Green → Purple. “On Drop Override on Main UI”. Works.

Green → Purple. “On Drop Override on Inv Square AND Main UI”. Triggers BOTH On Drop.

Thanks.

I’ve been messing around with Priorities etc. as well last night but not got anywhere with this

Been messing around with the Zorder and having a Boolean say if its been triggered but still no luck.