I am trying to write a basic code that will construct a rectangle at x=0; y= 215. I want the 100x100 rectangle to go up to y=75, then come back down. I would like this to happen when the space bar is pressed once and this process cannot be repeated until the rectangle has reached its beginning y coordinate. Please help me with this part.
1