Topic was automatically imported from the old Question2Answer platform.
Asked By
godotisgreat
I have been working on an fps game and i wanted to hide the cursor while in debug/playing the game. Ive tried using the following lines of code:
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
Input.set_mouse_mode(Input.MOUSE_MODE_CONFINED)
Sadly, none of them seem to work. I thought the problem was because i was using GLES2 but even when i switch to GLES3, the same thing happens. I was expecting to find the cursor ‘invisible’. Is there any way i can fix this? Your help is really appreciated!!
And, does work for me here, using 3.5 on a Windows PC. If that really doesn’t work for you, we probably need more details, such as:
What hardware (PC, Mac, …)
Are you running from within the editor or is this an exported game?
Other important info… (?)
Hi, I am using windows 11 with Intel UHD Graphics
I am running it from the editor, i am following a tutorial on Youtube.
I just recently updated to v3.5.1, but the same issue occurs.
Please let me know if you need more information.