Use the left and right Keys to move. Get through all the levels in less then 15 seconds, you win! If not, you lose.
This is from the scratch textbook. I changed the character and made the portal move so you have to go through it at the right time