How to set WebGL Template to auto-scale to browser?

Hey guys, how do I edit the standard WebGL Template to automatically resize the game to the browser? While maintaining aspect ratio of course. :slight_smile:

Check out the index.html page on www.kazap.io - that one maintains a fixed aspect ratio but sizes with the browser window. It’s easy to extend to the full window.