Collect the beacons, then find the exit. Each level reveals less of the maze and takes you deeper.
Swipe on the maze, hold a direction button, or use arrow keys or WASD.