so i just started to learn path finding and i want my person to go to a place unless there is an enemy nearby but i don't want it to start to move torwards the enemy unless if it can get there i don't want it to find out once the path is blocked how would you do that?
https://developer.roblox.com/en-us/api-reference/event/Path/Blocked
or use raycasting, raycasting is ur friend