System.screenWidth

Function/Meaning
Screen width
Type
System Class Properties
Explanation

Represents the horizontal size of the screen size (screen resolution) in pixels.
The value is for a display with a main window.
If there is no main window, the primary display is the target.

Reference
System.screenHeight
System.desktopLeft
System.desktopTop
System.desktopWidth
System.desktopHeight