How to draw two debug points correctly

Hi,

Im trying to draw 2 points but with different heights in my world. But every my z index is wrong.
So both points should be over/under each other.

What did i understand wrong?

Thanks!!

My Blueprint:

91542-unbenannt.png

You’ve found an interesting issue here. Plugging the Randoms into the same logic chain does produce odd results!

Even hovering the final input position at runtime says the values are the same but they render at different locations. Caching these values outside of the draw debug point made them act correctly: