The display object is a built-in object that exposes properties of the display system.
display.canvasHeight
display.canvasWidth
display.colorDepth
display.height
display.refreshInterval
display.refreshRate
display.screenHeight
display.screenScale
display.screenWidth
display.width
display.getMMX
display.getMMY
display.getPercentX
display.getPercentY
display.getPixelsX
display.getPixelsY
display.getPointsX
display.getPointsY
The display object is a built-in object and can not be explicitly declared in a script. It exposes a number of useful properties, however, that can be referenced in expressions throughout the script.