SCREEN_X

SCREEN_X

RETURNS THE SCREEN WIDTH IN PIXELS

  • Type: System Variable
  • Parameter: 0
  • Group: System

ACTION

The system variable SCREEN_X returns the screen width expressed in pixels.

SYNTAX: SCREEN_X in an expression

USE

  • The system variable SCREEN_X is used to know the size of the screen on the x-coordinate (width).

ERROR

  • None.

EXAMPLE

print "screen width : ";screen_x

print "screen height : ";screen_y

SEE ALSO

SCREEN_Y