The arrow keys are for which direction you want to move, for example the up arrow is to move upwards. The aim is to get to the door without touching the red but if you do touch red, you get sent back to where u started.
Its not finished by the way so yeah. I just want to say thanks to... um nobody. HA! HA. HA. MWAHAHAHAHAHHA.