Desktop.Width (gb.sdl)

Static Property Read Width As Integer

Returns the width of the desktop.