Moving objects along a line