Press the green flag and see how the ball bounces off both vertical and horizontal surfaces, check the code, they both use different code to do this.
This is an example of how something can bounce off of both horizontal and vertical surfaces in scratch.