There is PathFinding in Construct 2 but it works a bit differently from what you mentioned. It can still be used to get what you want though, instead of drawing the line where it goes you can draw the borders where it cannot go... hope that makes sense.
There is also an example capx provided in Construct 2 for free, look for Pathfinding example when you open up Construct 2 and click new project.