Press the space bar to make the ball jump. Do not let the ball touch the edge or you will lose. If you are touching something with the colour black it will increase your score. It hurts your muscles.
Thank you to this project for some of the code, inspiration and idea: https://scratch.mit.edu/projects/1013916389