ScreenWidth
Category: Window and Display
Signature
ScreenWidth()
Returns
Integer
Description
Returns the current virtual screen width configured by the most recent call to Graphics.
If Graphics has not been called yet, the result is 0.
Example
centerX = ScreenWidth() / 2