Is there a way to call the System action "Set layout scale" from the JS API? Or will I have to make a function in an event sheet and use runtime.callFunction() to do it?
Develop games in your browser. Powerful, performant & highly capable.
Also, a related question - is it possible to get the width and height of the viewport from within JS? This would be analogous to OriginalWindowWidth and OriginalWindowHeight in event sheets.