Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
You are viewing a potentially older version of this package.
View all versions.
ValheimCursorLockFix
Client-side cursor lock fix for Valheim. Forces cursor lock during gameplay and unlocks it in menus, inventory, build menu, map, chat and console.
| Date uploaded | 3 weeks ago |
| Version | 1.0.7 |
| Download link | LiveriaDevs-ValheimCursorLockFix-1.0.7.zip |
| Downloads | 139 |
| Dependency string | LiveriaDevs-ValheimCursorLockFix-1.0.7 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
ValheimCursorLockFix
Client-side BepInEx 5 plugin for Valheim that keeps the mouse cursor locked and hidden during gameplay, then unlocks it whenever UI needs it.
Features
- Forces Unity/ZCursor lock during gameplay
- HardConfine: Win32 ClipCursor keeps the OS cursor inside the Valheim window
- CenterWhenHidden: pins the OS cursor to the center of the game screen while hidden
- Chat keeps the cursor hidden; focus is restored after language/IME blips
- Cursor stays visible for radial menus (emotes, item quick-select, etc.)
- Unlocks for menus, inventory, build menu, map, store, text viewer, console, popups
- Toggle with F8
Changelog
See CHANGELOG.md.
CHANGELOG
Changelog
1.0.7
- Keep the cursor visible and free while radial menus are open (emotes, item quick-select, etc.)
1.0.6
- Chat keeps cursor hidden; restore chat focus after language/IME blips
1.0.5
- Hard confine with Win32 ClipCursor + center when hidden
1.0.4
- Fix false unlock from always-active UI roots
1.0.0
- Initial release