I need help with getting an object to move up and down in my world and once it hits the top edge turns 180 and starts to move down and once it hits the bottom edge of the world turn 180 again and move up. I have tried many different things to solve this problem but I haven't been successful. Does anyone have any idea how to code this?