Top down navigation

Currently, you are just using AI move to, right?

When the player clicks, you can do a line trace to the new point, and see if it collides with anything. If it does, it means there’s a wall in the way.

Something like that ( I imagine this wouldn’t work well with corners, for example ).