Arrow keys. The colored lines are portals.
Worked on with @TheCarrotLord Check out his version: https://scratch.mit.edu/projects/212853156/ Or check out @19peirb 's hardcore version: https://scratch.mit.edu/projects/213489992/