Why not add the mouse action like "set position" "set position to another object"?
Develop games in your browser. Powerful, performant & highly capable.