What it does
screen.setVSync sets VSync on a screen object. It takes bool.
Signature
screen.setVSync(bool)Arguments
bool
Example · generated
function start() { screen.setVSync(true);}screen.setVSync 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.