You move with the arrow keys. Click the green arrow to activate most of the code.
The gravity was horrible and now thanks to NattyB's "How to make a platformer" it is slightly better. The idea of making a platformer comes from the user "corgan19bulldog17" So a thank you goes to him to.