Press the space bar to change the gravity of the cube. Try not to let the cube touch the edge of the screen.