How receive the input and replace Sup.Input.waskeyjustpressed()
1.in normal script add an event who call a function and declare a var currentInput
document.addEventListener('keydown', thefunctioncall) ; var currentInput: string;
2. In the fuction
function thefunctioncall(event: KeyboardEvent) { currentInput = event.key } // you can use keycode if you want number
3. in an update of a behavior just check what is press
update() { if(currentInput = "s"){Sup.log("you go down bro !")} }
4.Whit some work allow the player to choose the command he wish :D
By ussing a tab for exemple...
5. Be happy and send me money to iamamanipulator@devilinside.com
or just be happy.