Hi, I don´t know exactly your problem, but if you put trigger once or key A,B.C...the keys that you use in the platformer and invert or both possibilities , it will probably work.
Develop games in your browser. Powerful, performant & highly capable.