lovr.graphics.getDimensions
Returns the dimensions of the desktop window.
width, height = lovr.graphics.getDimensions()
Arguments
None
Returns
Name | Type | Description |
width | number | The width of the window, in pixels. |
height | number | The height of the window, in pixels. |
See also
lovr.graphics.getWidth
lovr.graphics.getHeight
lovr.graphics.getPixelDensity
lovr.graphics