Player Jump in Niotron Game

Im trying to make a game were there is a player that will "jump when the screen is pressed. I am trying to get the ball to move up until its Y posistion is less than 170 then I will make it go back down to it’s starting posistion. I a new at this and not sure how to do this any help will be appreciated.

Also is there anything in niotron that I can use as a forever loop? I need to forever run an if statement.

Use for each block

And in from enter 1
And in to enter 0
And in by enter 1

Maybe it will be forever loop as it will not reach 0 ever, and it will continue to do it’s task until unless it reaches 0