Use the arrow keys to move. One you reach the X, there will be a new maze.
Credit goes to Giffpatch's YouTube channel because he has a video on how to make a maze game in scratch.