Objects following other objects

I am in need of help! I have some draggable MC’s on my stage which is posing a lot of problems with having buttons within those MCs.

Anyway, is there a way to have an item on stage lock on to another item? So when I drag something, in this case a draggable MC, the other thing follows. Is there code to have one object lock to the x and y position of another object? I’m having trouble finding this online any guidance would be so appreciated.

Thanks
Paul