How to check if an AI can reach a target?

Thanks! :slight_smile: What about getting the distance/length of a path so I can find the nearest target?