Skip to main content
Version: 2.3.0

Display

Requires API Version 1.0.0 or higher

The Display API provides information about the current displays.


Values​

luniris.display.width​

local width = luniris.display.width

Get width (in pixels) of a single display.


luniris.display.height​

local height = luniris.display.height

Get height (in pixels) of a single display.