How To Fix Mouse On Screen In Rust
One of the most common and frustrating bugs in Rust is the mouse cursor getting stuck on screen. Instead of the game hiding your cursor and letting you look around freely, you're left with a visible mouse pointer in the middle of your view, often preventing you from turning or interacting properly.
This guide covers every fix for the stuck mouse cursor issue in Rust, from simple key presses to configuration file edits.
Why Does the Mouse Cursor Get Stuck?
The stuck mouse cursor typically happens when Rust loses focus momentarily — alt-tabbing, Windows notifications, or background programs stealing input focus. When the game regains focus, it sometimes fails to recapture the cursor properly, leaving it visible on screen.
Other causes include:
- Multiple monitor setups where the cursor escapes the game window.
- Overlay programs (Discord, Steam, NVIDIA GeForce Experience) interfering.
- Rust's borderless window mode conflicting with cursor capture.
- Corrupted input configuration files.
Quick Fixes (Try These First)
1. Press F1 (Console) and Close It
Press F1 to open the developer console, then press F1 again to close it. This often resets the cursor state and hides the mouse. This is the fastest and most reliable quick fix.
2. Alt-Tab Out and Back In
Press Alt + Tab to switch to another window, then click back onto Rust. This forces the game to re-capture the cursor.
3. Press Escape Twice
Open the in-game menu with Escape, then close it with Escape again. This can reset the cursor state.
4. Click the Game Window
Sometimes Rust simply needs to be clicked back into focus. Click anywhere on the game window to ensure it has active input focus.
Console Commands
If quick fixes don't work, try these console commands:
- Press F1 to open the console.
- Type one of the following commands and press Enter:
input.unityfocus— Toggle the mouse cursor lock.mouse.lockcursor true— Force the cursor to lock to the game window.
- Close the console with F1.
You can also bind a key to toggle the cursor lock. In the console, type:
bind f12 "input.unityfocus; mouse.lockcursor true"
Now pressing F12 will instantly fix the cursor if it gets stuck again.
Configuration File Fix
If the cursor gets stuck every time you play, you can force cursor lock in the configuration file:
- Navigate to:
%USERPROFILE%\Documents\Rust\cfg - Open client.cfg with a text editor (Notepad works fine).
- Find or add these lines:
mouse.lockcursor "true" input.unityfocus "true" - Save the file (make sure it remains
client.cfg, notclient.cfg.txt).
Preventive Measures
Stop the cursor issue before it starts with these tips:
- Play in fullscreen mode (not borderless window) — Fullscreen provides more reliable cursor capture. Go to Settings → Graphics → Fullscreen.
- Disable overlays — Turn off the Steam overlay and Discord overlay for Rust to reduce focus-stealing events.
- Close background applications — Programs that pop up notifications can steal focus. Close anything non-essential while playing.
- Disable mouse acceleration in Windows — Search "Mouse Settings" → "Additional mouse options" → "Pointer Options" → Uncheck "Enhance pointer precision".
Conclusion
The stuck mouse cursor in Rust is annoying but almost always fixable with the methods above. Start with the F1 console toggle — it works in 90% of cases. For persistent issues, the config file edit or overlay disabling usually resolves the problem permanently.