Gabriel #1 Get the angle with Angle=Atan2(ToY-FromY,ToX-FromX)and then move it by X:+Cos(Angle)*Speed Y:+Sin(Angle)*SpeedOf course, your position variables will need to be floating point to keep everything smooth.