Use the Right Arrow Key to move. If you want to make a scrolling platformer, feel free to take this code! Enjoy!
I used @ZonxScratch 's scrolling backdrop code and modified it a little bit to make the scrolling ground. I also used @griffpatch 's Scratch Cat from A Scratchnapped Adventure for the character.