Drawing path for ai movement

Good Day,
I am trying to make AI walk along a path that can be drawn rather than place multiple target point. Kinda like drag and drop the walkable areas