Ok, lol, another JavaScript question!
How do you call an extension from JavaScript?
I have, for example, the controller extension in my project and I can use it from no-code, but I can’t seem to locate it in JavaScript.
The Java output from the no-code version uses
evtsExt__Gamepads__C_Button_pressed.func
…but when I paste that in with my javascript I get an error - it doesn’t exist. So, I’m assuming the code generator is making special code for itself, and I can’t get access to it.
I keep thinking it should be a get function like :
.something.getExtensions( "Gamepads" ).callFunction( "One of Gamepads functions" )
…but darned if I can find it!
Thanks for any and all help!