Space, enter, arrow keys, or wasd to flip the wall you're on. I've stopped working on this, but decided to share it anyway.
This is the second version of a really old project of mine, Cave Rush. Here's the link to it: https://scratch.mit.edu/projects/494090177/