Use the arrow keys to move around and use the space bar to bounce the basketball. Don't let the basketball touch the floor, or it's game over!
Thanks to MrMattperreault's Youtube video on gravity in scratch, which I used to construct a lot of the scripts.