Look at the ball. So simple how it bounces back and forth, and forth and back. Very simple.
Some code taken from a random Scratch project, and inspired by the DVD bouncing logos: https://scratch.mit.edu/projects/274432412/ Also, I'm giving credit to @rltsai for the code.