An advice, you should put the trigger event "button pressed" on top and check if jumping or falling as sub-event, that way you use a trigger instead of a loop, which is always better for cpu usage
Develop games in your browser. Powerful, performant & highly capable.