With help from the gamemaker discord they came up with this,
Global left click is the same as the demo file, on the Global right click i added follow_path = true
if follow_path = true{
var points_array = path
if array_length(points_array) = 0{
speed = 0}
else{
if point_distance(x,y,points_array[0,0], points_array[0,1]) > walk_speed{
move_towards_point(points_array[0,0],points_array[0,1], walk_speed) }
else{
x = points_array[0,0]
y = points_array[0,1]
array_shift(points_array) }
}
}
This works really well!