This article explains how to use Dual Monitor Tools to lock the mouse cursor to a single screen on a multi-monitor setup.
While some games and apps let you screen-lock the cursor, the Windows operating system doesn't provide a method if you need to do so in other apps or on your desktop.Your next best option is to use the free Dual Monitor Tools app. Here's how:
Download Dual Monitor Tools and install it.
Right-click or tap-and-hold the tray icon for Dual Monitor Tools, and then selectOptions.
SelectStickyunder theCursorheading in the left-hand menu.
SelectChangenext toLock cursor onto screen.
Tick theEnable this Hotkeybox and then input your chosen shortcut.
It can also be useful to enableAllow cursor to move freely if this key is pressedso you can quickly and temporarily disable the screen lock if necessary.
PressOKwhen finished. Trigger the shortcut to lock the cursor to one monitor, and then activate it again to free the mouse.
Many modern games will automatically set your screen mode to borderless window without locking your cursor if switching between applications, but that can be problematic if your mouse keeps straying to the second display when you move it past the bounds of the screen.
To stop this behavior, either use the Dual Monitor Tools method above or switch your game's display mode toFullscreen(non-windowed) within its settings.
Another way to stop your mouse from moving to your second monitor is to adjust your display settings. Right-click the desktop to find the display settings link. From there, you'll see your current dual-monitor setup with side-by-side alignment. Select your second monitor and drag it to a diagonal position. Now, your mouse will only go to the second monitor when you move the cursor diagonally.
To be able to move your mouse between two monitors, go to the game's graphics options and enable theBorderless Windowedoption. Then, check your aspect ratio settings; if switching to Borderless Windowed changed these settings, change them back to avoid your game window being too big or too small. PressAlt + Tabto switch between the two monitors.