System.screenWidth

Function/Meaning
Screen width
Type
System class property (read-only)
Description
Represents the horizontal size of the screen (screen resolution) in pixels.
The value targets the display where the main window is located.
If there is no main window, the primary display is targeted.
Reference
System.screenHeight
System.desktopLeft
System.desktopTop
System.desktopWidth
System.desktopHeight