Mouselook Toggle
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 🏆 #483 of 516 Gameplay mods in this game by downloads
📋 About This Mod
Converts the middle-mouse camera rotation control from a hold-to-activate input into a toggle. Press the mouse down button once to engage camera rotation, press it again to disengage. Made for use with WASD Controls and True Third Person
My attempts to directly simulate a held middle mouse button were not recognized by the game. However, I found that a simulated press of the Scroll Lock key is recognized, and since Scroll Lock has a built-in on/off state we can build a script that uses Scroll Lock as an intermediary rather than simulating the mouse button directly:
-
[]The mouse side button is pressed.[/]
[]The script simulates a Scroll Lock keypress, which toggles its on/off state, updating the keyboard LED (if applicable)[/]
[]The script checks the resulting state:
[]On: a middle-mouse-button-down signal is sent to the game, engaging camera rotation.[/]
[]Off: a middle-mouse-button-up signal is sent to the game, disengaging camera rotation.[/]
Because Scroll Lock's on/off state is a system-level toggle, it is processed reliably in a way that a directly simulated mouse button wasn't. The script uses this toggle as the control signal driving the camera input. The physical Scroll Lock key can also be pressed directly and will produce identical behavior although this isn't ergonomic.
Installation:
1. Download BG3Mouselook.ahk from the Files tab, I recommend placing it somewhere that's easily accessible unless you want it to run automatically when Baldur's Gate 3 is launched, in which case place it at the root of your BG3 folder.
2. Install AutoHotkey v2 if not already installed.
3. Run the .ahk file. An AutoHotkey icon will appear in the system tray, confirming the script is active.
4. Launch Baldur's Gate 3 and test the mouse side button (XButton1) to confirm camera lock engages.
Automatic Startup (Optional but recommended):
In Steam, right-click Baldur's Gate 3 → Properties → General → Launch Options, and enter:
cmd /c start "" "C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe" "\path\to\BG3Mouselook.ahk" & %command%Adjust the AutoHotkey path as needed. This launches the script automatically each time the game is started through Steam and AHK will exit whenever BG3 is closed.
Changing the Trigger Button:
By default, the toggle is bound to XButton1, one of the two extra buttons found on most mice with side buttons. Note that which physical button corresponds to XButton1 versus XButton2 is determined by the mouse's driver or firmware and is not standardized. on some mice XButton1 is the forward-most side button, on others it is the rearmost. If unsure which button is bound, test both side buttons after installing the script to confirm. To use
📊 Mod Details
- Game
- Baldurs Gate 3 Mods
- Author
- lankeykong
- Version
- 1
- Downloads
- 166
- Endorsements
- 5
- Category
- Gameplay
- Created
- 8/3/2026
- Updated
- 8/3/2026
🔧 How to Install Baldurs Gate 3 Mods
Download from Nexus.
📖 Full step-by-step install guide for Baldurs Gate 3 →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Baldurs Gate 3 commands, item IDs, and more.
Keep browsing — more Baldurs Gate 3 mods await