what I did was that first I arranged the rectangle to move from let to right and bounced back when I first created it. Then afterwards I set it up so that it goes up and down. I had to makeyspeed=-yspeed. In order for it to move the opposite way I had to be negative. I can't say that I understand this perfectly because I don't so I can't explain It was well b ut going based on what's done on the java script I can see how I was able to make the box move the way I wanted to. I need a lot more practice still.
- kdejesu5