How to know there position is obstacles in C++ Work?

I want to know there is obstacles or not by worldposition,and I’m work in C++,Which function I Can use?

I have param is worldposition(FVctor)
I want to know this position have obstacles!
Because I need this to finished my A* pathfind!
Thanks!!!

I assume there is a reason you aren’t using the NavMesh and built in AI Navigation Systems (which you can use to see if it’s possible to plot a course to a particular location).

More generally, if you just want to know “is myPosition within a collider”, this might help: How to check if a point is inside a collider? - World Creation - Unreal Engine Forums