How do I make SetActorLocationAndRotation teleport on the landscape?

So, im using SetActorLocationAndRotation but sometimes it teleports the object in the floor. How can I make the object land on top of the landscape? Thanks!

You need to give an offset at the z-axis, when your map is not flat then it will become hard and i think it will be better to search for another approach