Get Terrain height

Hey guys

is there any way to get the height of my terrain for my blueprint? i need the value in vector.

if anyone knows something about this it would be very nice to know.

thanks in advance

You could fire a line trace from above and get the hit location vector. Z value gives you the positive Z height of the point the trace hits on the landscape

okay thanks jacky for the answer but how would it look like? is the target my pawn or the landscape?

The start is your pawn location and the end is going to be a distance depending on how large your landscape is(to set the target value> subtract 5000 or more in Z from the pawn location.)