All you have to do is wait for it to hit the corner :)
I'm guessing a whole lot of people have done this, but this was just a fun project that I wanted to make ever since I saw the "If on edge, bounce" block. Have fun waiting! I also made another slightly different one. https://scratch.mit.edu/projects/1084702315/