How to get a widget under dropped widget?

In retrospect, my question is pretty confusing. So I need to have it so that in the on drop part of my “Node” it will check for a “Slot” underneath or nearby it and give the payload information to said slot. both are widgets and I didn’t explain that well, sorry