Why you'd want to move your mouse automatically
macOS watches for activity. Mouse, keyboard, trackpad. Go idle for a few minutes and the screen dims, then the system sleeps. Downloads stop, remote sessions drop, renders die mid-frame.
Automatic mouse movement resets that idle timer. macOS sees the cursor move and assumes you're still there. Everything keeps running.
How to move your mouse automatically on Mac
Easiest way: a mouse jiggler app. Runs in the background, moves the cursor at regular intervals. Good ones use smooth, natural motion so it's not obvious and doesn't interfere with your work.
Shake It On does this with sine-wave cursor movement, configurable from 5 seconds to 1 hour and 5 to 420 pixels. Lives in the menu bar. Only runs when your conditions say so.
Can you do it from Terminal?
Technically, yes. You can use cliclick or AppleScript with osascript to move the mouse in a loop. Move one pixel every 60 seconds. It'll work.
But it's brittle. Scripts don't know when to stop. They keep running during video calls, on battery, at 3 AM. They don't survive a restart. And the movement is usually a sudden pixel jump that's obvious on screen.
Moving the mouse only when you need to
You don't want automatic mouse movement running all the time. Just during the tasks that need it. Shake It On lets you set that up:
- When a specific app is running (Slack, Final Cut, whatever)
- During work hours on weekdays
- When plugged into power
- When connected to Wi-Fi
- Paused when the camera is on or Focus mode is active
Mouse moves when it should. Stops when it shouldn't. Mac sleeps normally the rest of the time.
Hardware vs. software mouse movers
Hardware movers are USB dongles that physically simulate mouse input. No software to install. But no intelligence either. A dongle can't pause when your camera turns on or stop at 6 PM.
Software movers like Shake It On generate the same real input events at the OS level. macOS can't tell the difference. But the software can adapt: conditions, scheduling, pausing for context.
Common reasons to auto-move the mouse
- Keep Slack or Teams showing "active": they decide your status based on mouse and keyboard activity
- Remote desktop: VNC and Screen Sharing have their own idle timers that system sleep prevention doesn't touch
- Downloads and uploads: a sleeping Mac pauses network transfers
- Corporate MDM: when IT locked Energy Saver, mouse movement still works
- Long renders: Final Cut, Blender, Handbrake exports that run for hours