Move up and down to avoid the red. Move up and down with the arrow keys.
This project inspired me to make this. https://scratch.mit.edu/projects/24014952/?fromexplore=true