unknown y axis

Hi,

I have a dilemma ands wonder if anyone could help,
I have a player that on occasion has to jump to an object of unknown y position, I know where it is x and z but don’t know it’s y position.

how can I get the objects position given only x and z?

You must know all of these, otherwise the position will be wrong.