hello,
im making a little pong-game, only i'm stuck right now.
Im trying to place the bat on the right and left of the screen (this will help the players to protect their goals). but how do i write this code. I want the bat only to move up and down at just one place.
can anyone help me with this?

