FiveM mouse cursor keeps snapping back to center in NUI menus

What is the issue you’re having?

My mouse cursor keeps snapping back to the same position in FiveM NUI interfaces, making them unusable.

The issue occurs in the character selection screen on GalaxyRP and in inventory menus on PeakRP.

I can move the mouse, but the cursor immediately jumps back when I try to click or select something. Sometimes two cursors appear.

My mouse works normally in GTA V Story Mode, GTA V settings, and the FiveM main menu.

I am using GTA V Legacy on Steam and Windows 11.

What have you tried already to fix the issue?

I have already tried:

  • Completely uninstalling and reinstalling FiveM.
  • Deleting the FiveM and CitizenFX folders.
  • Clearing the FiveM cache.
  • Resetting keyboard bindings.
  • Disabling Discord overlay.
  • Closing Armoury Crate and testing ASUS background services.
  • Testing different display modes.
  • Testing FiveM launch parameters.
  • Testing different FiveM servers.

None of these solutions worked. The problem persists even after a completely clean installation.

What server did you get this issue on?

GalaxyRP 2.0 and PeakRP

Windows version

Windows 11

System specifications

Operating System: Windows 11 Pro 64-bit
Windows Build: 26200
CPU: AMD Ryzen 5 3600 (6 cores, 12 threads)
GPU: NVIDIA GeForce GTX 1050 2GB
GPU Driver Version: 32.0.15.8266
RAM: 16 GB
Motherboard: ASRock B450 Gaming-ITX/ac
BIOS: American Megatrends P10.60
Display Resolution: 1920x1080, 60 Hz
GTA V: Legacy (Steam)

Antivirus software

Microsoft Defender Antivirus

Additional comments

FiveM Mouse Cursor Keeps Snapping Back to Center – NUI Unusable

Issue type: FiveM Client / Mouse Input / NUI Focus

Game: GTA V Legacy (Steam)

Operating system: Windows 11

Affected servers: GalaxyRP 2.0 and PeakRP

Problem Description

I am experiencing a persistent mouse cursor issue in FiveM.

Whenever I open certain NUI interfaces, such as the character selection screen or inventory, the mouse cursor immediately snaps back to the same position when I try to move it.

This prevents me from selecting my character, clicking buttons, or interacting with the interface.

The mouse works normally in GTA V Story Mode and GTA V Settings. The issue occurs specifically within FiveM interfaces.

On the GalaxyRP character selection screen, my character is visible, but I cannot select it. Pressing Enter does not work either.

I have also experienced similar cursor behavior on another FiveM server (PeakRP), particularly in the inventory and other NUI menus.

Troubleshooting Already Performed

  • Completely uninstalled FiveM.
  • Deleted the local FiveM installation and CitizenFX configuration folders.
  • Performed a clean FiveM installation without restoring old settings.
  • Reset all key bindings to their defaults.
  • Cleared FiveM cache files.
  • Tested fullscreen and windowed modes.
  • Disabled Discord overlay.
  • Closed ASUS Armoury Crate.
  • Tested disabling ASUS background services.
  • Tested with the keyboard disconnected.
  • Checked for connected controllers or other input devices.
  • Tested different FiveM servers.
  • Tested without the -mo_mouse_raw 0 launch parameter.

None of these steps resolved the issue.

Additional Observations

  • The cursor works in regular GTA V menus.
  • In certain FiveM interfaces, the cursor appears to be locked or continuously repositioned.
  • In some menus, two mouse cursors appear to be visible.
  • The issue persists even after a completely clean installation.
  • The FiveM logs contain some script and launcher errors, but I have not confirmed whether they are related to the mouse issue.

Expected Behavior

The mouse cursor should move freely and allow interaction with NUI elements, including character selection and inventory.

Actual Behavior

The cursor immediately returns to the same position, making these interfaces unusable.

Request for Assistance

Could this be caused by a FiveM NUI focus issue, cursor capture behavior, or a conflict with Windows mouse input handling?

I would appreciate guidance on how to identify the underlying cause, including any relevant diagnostic tools or logs.

I can provide CitizenFX logs, screenshots, and additional information if needed.
Could this be caused by a FiveM NUI focus issue, cursor capture behavior, or a conflict with Windows mouse input handling?

I would appreciate guidance on how to identify the underlying cause, including any relevant diagnostic tools or logs.

I can provide CitizenFX logs, screenshots, and additional information if needed.

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot: