press the right arrow key to rotate the block to the right, and the left arrow key to rotate the block to the left
I made this in school, in my digital innovation and design class