lovr.resize

This callback is called when the desktop window is resized.

function lovr.resize(width, height)
  -- your code here
end

Arguments

NameTypeDescription
widthnumberThe new width of the window.
heightnumberThe new height of the window.

Returns

Nothing

See also