Arrow keys to move. Avoid red, get yellow and green.
If you find a way to improve this, feel free to remix. Try 3D Game Test: https://scratch.mit.edu/projects/222931170/