What Is My Cursor Position?
Track your cursor X/Y coordinates in real-time
Cursor Position
X: 0, Y: 0
Move your mouse or touch the screen
Tracking Area — move your cursor here
Client Position
0 x 0
Page Position
0 x 0
Screen Position
0 x 0
Movement Delta
dX: 0, dY: 0
How it works
This tool uses the browser's mousemove and touchmove events to track your cursor or finger position in real time. Client coordinates are relative to the viewport, page coordinates include scroll offset, and screen coordinates are relative to your physical display. The movement delta shows how far the cursor moved since the last event.
More tools
You might also like
FAQ
Frequently Asked Questions
What are cursor coordinates?
Cursor coordinates are the X (horizontal) and Y (vertical) position of your mouse pointer on the screen or within the browser window, measured in pixels from the top-left corner.
What is the difference between clientX/Y and screenX/Y?
clientX/Y gives the cursor position relative to the browser viewport (visible area). screenX/Y gives the position relative to your entire screen. pageX/Y includes the scroll offset of the page.
Can websites track my cursor position?
Yes, any website can track your mouse movements using JavaScript event listeners. Some analytics tools record cursor movements as heatmaps to understand user behavior. This data is typically anonymized and aggregated.
Does this work on touchscreens?
On touch devices, coordinates are captured from touch events instead of mouse events. You'll see the position of your finger tap. Multi-touch typically reports the position of the first touch point.