Mouse drift and spinning
The client captures the mouse with the Pointer Lock API. While locked, the cursor is hidden and the page reads movement deltas. A trackpad that sends a small constant delta looks like the character spinning. Escape should release the lock because the browser reserves that key.
Last reviewed: . By the Eaglercraft Guide editorial team.
Pointer-lock behavior is documented by MDN. The checks below are suggestions, not a reproduced MacBook defect or a guarantee that a trackpad is the cause of camera motion.
- Press Escape. If the camera stops, the lock was the input path.
- Lift your palms off the trackpad or disable tap-to-click for a test.
- Try another browser. Pointer lock behavior is not identical everywhere.
- If it only happens on one server, compare singleplayer and another server before assigning a cause. Send the operator the client/browser versions and a description of the movement.
Questions
Is this the “character keeps changing direction” bug?
That phrase is the same symptom. Start with pointer lock and the trackpad before you look for a mod.
Related: Mac · Chromebook · Fix
Still broken? Related checks
These links explain related topics, not a guarantee of compatibility with every build or server.
Sources
- MDN Pointer Lock: gestures and movement deltas, not a tested game-specific fix. Reviewed 2026-10-27.
- Project FAQ: 1.8 world transfer, shared-world invitations, controls, browser requirements and PBR. Reviewed 2026-10-27.
Original illustrations on this page are drawn for eaglercraft.pro. They are not official screenshots.