A lightweight macOS menu bar app that displays the current cursor position as a floating label next to the pointer, updated in real time at around 60 FPS.
An example of the app launched and stopped via a Raycast script using the toggle command below
A compact pill label follows the cursor in real time, sitting just to its right and below the tip. Coordinates use a top-left origin — matching the native macOS screenshot tool — with monospaced digits so the label width stays stable as values change. The overlay is click-through, appears on all Spaces, and adapts to Light and Dark Mode automatically.
The app lives in the menu bar. Click the icon to open the menu, then choose Quit to exit.
Compiles the app from source, stops any already-running instance, and launches the result.
bash build.shStarts the pre-built app without recompiling.
open PointerCoordinates.appTerminates the running app process by its exact binary name.
pkill -x PointerCoordinatesChecks whether the app is currently running and either stops it or starts it accordingly. Useful for binding to a keyboard shortcut or a shell alias.
if pgrep -x PointerCoordinates > /dev/null; then
pkill -x PointerCoordinates
else
open /path/to/PointerCoordinates.app
fi