Since Scratch 3.0 has mobile users, here’s some code you can use instead of the “if right/left arrow key pressed.” Click the sides to test it out! This is a mobile-friendly project. You can use the code as long as you ask permission and give credit to my main account- @LovelyOtter.
All me!