i actually got a headache from this programming bouncing is too difficult then like 2 weeks later i figured out the answer it was so simple i actually got mad oh yeah and you can press space to rotate the ball
seeing that scratch 3.0 doesn't have a bounce code (instead of an if on edge then bounce code) i tried programming one myself just assume i'll use this in a project eventually if you're still confused then look in the code