W, A, S, and D to move. The higher pitched the beep, the farther away you are. The lower, the closer. There's a meter in the top left. The green meaning you're safe, and the red being in danger.
You will need to strategically maneuver your way around to reach the end. The normal variant of the maze can be found at https://scratch.mit.edu/projects/330617619/