Print object x position

Hello, I’m quite new to blueprint, still trying to learn.
Basically I’m trying to print the x pos of the actor, after I press f, while the xpos is less than 900.
How should I approach that?

Do you want to keep printing it, until X > 900, or just once?

I want to keep printing, I’m actually doing this to stop my player movement after his x is bigger than 900. So the print is just to test if the condition works.

image

( sorry, should say 900 )

I think that would work for what I’m trying to do, thanks!
But if I want to check if the actor position is < or > than something, how should I proceed?

The clamp node will keep it in the range you specify.

Can you give me a little more detail? Example values…