Arrow keys too move. Dodge the arrows. Yellow portal will teleport you or a arrow to blue portal.
@TheCodingMaster for a project with gravity and trail i used: https://scratch.mit.edu/projects/268434867