Arrow keys to move, space to change gravity. All of the levels are possible, all though some are hard.
I got the trail code from https://scratch.mit.edu/projects/