lovr.resize

Edit

This callback is called when the desktop window is resized.

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

Arguments

NameTypeDescription
widthnumber The new width of the window.
heightnumber The new height of the window.

Returns

Nothing

See also