I need help, About equipment slot

I need help, About equipment slot
Basically I want to make it so that I can drag the item that is in my inventory to the Equipment Slot (I want the image of the dragged weapon to appear in the defined slot and I want it to also be added to a selected socket of the weapon)
Two ways it can be done:
Equip by menu item (IMAGE 1)
Equip by drag and drop (IMAGE 2)

IMAGE 1
image

IMAGE 2

This is a video I posted to show the problem that is occurring
the interaction buttons are still not working and drag and drop does not behave as it should because the image does not appear in the slot, however the “Print string” function is called normally when dragging and dropping in the desired location
Another problem is that the object is being dropped, something I don’t want to happen, but rather to be added to a socket (But I haven’t programmed this part yet)