Move only along grid points

As JoSf said you really need your own pathfinding for this, likely A* or Dijkstra