Use arrow keys or the on-screen ones to move. If you are touching a platform, you will not fall down. Different balls give you a different amount of points.
I don't know where I got this idea from but I made this This is my second personal game that I have made. Try out my first one. https://scratch.mit.edu/projects/1234887838