InterfacesScreenResizeEventOn this pageScreenResizeEvent Fires when the screen resizes, useful if you have logic that needs to be aware of resolution/viewport constraintsIndex PropertiesresolutionviewportProperties resolutionresolution: ResolutionCurrent resolution in world pixels of the screenviewportviewport: ViewportDimensionCurrent viewport in css pixels of the screen
Fires when the screen resizes, useful if you have logic that needs to be aware of resolution/viewport constraints