lovr.system.getWindowWidth
EditReturns the width of the desktop window.
width = lovr.system.getWindowWidth()
Arguments
None
Returns
Name | Type | Description |
width | number | The width of the desktop window. |
Notes
If the window is not open, this will return zero.
See also
lovr.system.getWindowHeight
lovr.system.getWindowDimensions
lovr.system.isWindowOpen
lovr.system