Use the arrow keys to move. To make change to pen form, click z. To change to sword form, click a. Click v for pen down. Click x for pen up. Click c to clear. There are also a few hidden controls. If you do find the hidden controls and cheats, please do not spoil it for other people.
Credits: To a wonderful friend who reminded me about Scratch.