left arrow to go left, right arrow to go right ,up arrow to go up, down arrow to go down
sorry it may be very glitch as it is meant to be as basic of coding as i can so that it may be remixed (ghosts will go through walls)