Move an object between two points