Press the space bar to keep Scratch from hitting the obstacles.
If you have a way to make this program better, comment down below. Also, don't forget to like and favorite.