nanos world API Reference Unofficial documentation
Event Client

Viewport.Resize

Called when the screen is resized

Syntax

Lua
Viewport.Subscribe("Resize", function(new_size)
    -- il tuo codice
end)

Arguments

Name Type Default Description
new_size Vector2D New new screen size