Coordinate system

The following graphic represents coordinates on the screen.

The top left corner is the origin. X is the horizontal distance and Y is the vertical distance.

The red dot represents the position on the screen. You can drag it around and see how it's coordinates change.