Anyone know if there is a way to get the input for the game from an external javascript?
Thanks.
Develop games in your browser. Powerful, performant & highly capable.
It depends on the external JavaScript. If you're making a plugin you can make a condition to query the input state or make a trigger that's called from an event listener or callback. It's mainly specific to the JavaScript you use.