So I have a student who really wants to make a sprite move up to the top of the screen then when they get the stop move down until they reach the bottom and then go back up. Basically bouncing up and down on the screen.
Neither of us can figure out a way to make this happen. Anyone have any thoughts. Here is my code that I remixed so I can play around with it.