Use the arrow keys to move. For level 1, you can go under the basket for a layup or above for a dunk. On levels 2 & 3, you can only dunk or it will not advance the level. Make sure that the ball part of your character touches the hoop or it won't count. On level three, you must go high above the hoop and then hold the down arrow to beat the level.
This is my first main original project on scratch that I have made without a tutorial. I enjoy basketball and wanted to make a simple basketball game. As I was making it, I wanted to add an evolving challenge, getting harder with each bucket. In the end, I decided on making three levels. I plan to make another game with levels four, five, and six. It will likely have a more complicated code with multiple parts for each level.