You can move your mouse cursor exactly one pixel at a time using built-in operating system features called Mouse Keys, which map your keyboard’s numeric keypad to cursor movements.
Here is how to set up and use this feature across Windows, Mac, and specialized software. Method 1: Windows Built-In Mouse Keys
Windows allows pixel-by-pixel accuracy using the numeric keypad.
Activate the shortcut: Press Left Alt + Left Shift + Num Lock simultaneously. A dialog box will pop up asking if you want to turn on Mouse Keys. Use Enter to select Yes.
Configure for precision: To ensure the cursor moves exactly one pixel, search for “Mouse Keys” in your Windows Settings. Turn the Pointer Speed and Acceleration sliders all the way down to their lowest settings.
Control the movement: Ensure Num Lock is turned on. Tap the following numeric keypad keys to nudge the cursor by a single pixel in any direction: 8: Up 2: Down 4: Left 6: Right 7, 9, 1, 3: Diagonal movements 5: Left-click
Tip: Hold down the Shift key while pressing a direction to temporarily slow the speed down even further for extreme accuracy. Method 2: macOS Built-In Mouse Keys
Mac computers offer a similar accessibility option built right into the system settings.
Open Accessibility Options: Press Option + Command + F5 to open the Accessibility Shortcuts panel.
Enable Mouse Keys: Select the checkbox for Mouse Keys and press Escape to close the menu.
Control the movement: Use the standard keyboard keys as your directional pad. Tapping a key once will nudge the cursor by one pixel: 8 or I: Up 2 or K: Down 4 or J: Left 6 or L: Right 5 or I: Click Method 3: AutoHotkey (Custom Windows Automation)
If you lack a numeric keypad or want absolute pixel-perfect macro control, the free automation scripting tool AutoHotkey is the most reliable choice. Download and install AutoHotkey.
Right-click on your desktop, select New, and choose AutoHotkey Script.
Right-click the new script file, select Edit Script, and paste the following code block: autohotkey
^!Up::MouseMove, 0, -1, 0, R ; Ctrl+Alt+Up Arrow moves 1 pixel UP ^!Down::MouseMove, 0, 1, 0, R ; Ctrl+Alt+Down Arrow moves 1 pixel DOWN ^!Left::MouseMove, -1, 0, 0, R ; Ctrl+Alt+Left Arrow moves 1 pixel LEFT ^!Right::MouseMove, 1, 0, 0, R ; Ctrl+Alt+Right Arrow moves 1 pixel RIGHT Use code with caution.
Save the file and double-click it to run. You can now hold Ctrl + Alt and tap your standard keyboard Arrow Keys to force the mouse to crawl exactly one pixel at a time. Method 4: Application-Specific Single-Pixel Nudging
Leave a Reply