Move to Position fluently AI

The playerSpotted variable gets updated whenever something moves into the sight field of the AI.

I fixed the problem with chasing the player instantly but the problem with walking to the player still remains because I save the player position and use moveTo to get to him. If the player moves in that time the AI still moves to the old point. If i cancle moveTo the AI stop for a moment, which looks dumb. A moveTo which runs in the background would be nice.