Add sprite, waypoint, add var waypoint.number
Place the waypoints on your layout and edit the variable number for all waypoints in the layout editor accordingly so it becomes the path you want.
Then add a variable to your player object with pathfinding. Player.waypoint. Set default to 1.
When you start the route
player find path to player.waypoint
And add
on pathfinding arrived
add 1 to player.waypoint
player findpath to player.waypoint.
If you want a loop, like a racing track, and say you have 20 waypoints, you could make instead of the above:
on pathfinding arrived
sub
-player.waypoint = 20, set player.waypoint = 1
sub else
-add 1 to player.waypoint
blank sub
-player find path to player.waypoint