What it does
screen.setVirtualResolution sets VirtualResolution on a screen object. It takes w and h.
Signature
screen.setVirtualResolution(w, h)Arguments
wh
Example · generated
function start() { screen.setVirtualResolution(1, 1);}screen.setVirtualResolution is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.