Drop on what widget detection

So I have the following setup


I am trying to implement drag and drop, but run into problems with drop detection.
When I drag and drop to widget A it will detect a drop on Widget A as expected, but when I drag and drop onto widget B it will detect the drop on widget B but then also the drop of widget A underneath it, my question is thus is there a way to prevent this drop detection on widget A when I want to only drop on widget B?
Currently my solution would be something like drawing special detection rectangles filling the space around widget B which feel like a clumsy solution tbh, so if there is a better way please let me know!

TY

Make sure that your On Drop function returns True (Return Node - True to indicate that you handled the drop operation). If it returns True, then the drop operation will be completed and the other widgets won’t pick it up.