How to get z value from ue4 terrain in point(x,y)

hi, could anyone have a method using a query method to get the z value using a 2D point(x,y)? I can’t find the same method like uniy Terrain.SampleHeight. Without it , it’s very awful to me to collect terrain data myself.

Have you considered a linetrace?