Say I have 2 objects (Object and Slot) with Object close to the camera and Slot further away (along the z-direction). I would like to be able to drag Object along the X and Y axes and have it automatically move towards Slot (along Z) depending on how far I drag it. I have calculated the offset and the direction between Object and Slot but am not too sure how to implement this kind of movement. For my scene, the Slot is higher up than the Object (has a larger Y-value). I have attached a screenshot to show what I mean. Basically, dragging the Object from the starting point in image up along the Y (by Y offset) should also move it in the Z, by Z offset, therefore placing at the same position as the Slot.