How can I make a condition

How can I make a condition where if my character is under an object an external layout is created? What I want to do is an infinite platform game where the objective is to climb as high as you can. My problem is that my external layout is created below the character instead of above it, I think the problem is in this condition: The Y position of PLAYER > object1.X()-200. I need help with this please.

X is horizontal
You need Y for vertical

1 Like

Also it should be Y+200, because the Y coordinate is backwards, so -200 would go up instead of down.

1 Like

Thank you very much if it worked for me