Use arrow keys (left and right) or A and D Keep in mind that this project is just a test for me to see if I can code stuff like this, so it is not very good.
thanks to @griffpatch_tutor for his platformer tutorial. I used it for the player sprite. Link: https://scratch.mit.edu/projects/67727504/ Thanks to @dwseoh127 for making the project "Pico's Survival Game!", which gave me the inspiration for this project. Link: https://scratch.mit.edu/projects/527974858/