Use the arrow keys to move scratchy. Open the stargate by collecting the string!
I give all credit to the Super Scratch Programming Adventure book