Use the arrow keys to move (you're the blue dot). Avoid Ghosts, Saws and walls. try to get to the green rectangle using portals, keys and doors.
There is a cheat code. I originally got the idea from one of the scratch starter projects.