W-A-S-D to move player. Wait some seconds for maze to generate and then go to the X.
Thanks to griffpatch (youtuber) to teach how to make this maze. go to scratch.mit.edu/users/griffpatch