to move right: click right arrow (or d key) to move left: click left arrow (or a key) to move up: click up arrow (or w key) to move down: click down arrow (or s key)
I used a tutorial and made a few changes: you can now move faster you can use the keys w,a,s,d to move as well I set the octopus to set x to 7 and y to 8 when the green flag is clicked.