What do i do if my cursor doesnt dissappear ingame? I have used the lines of code provided in the Godot docs.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By godotisgreat

I am using Windows 11 with 8GB RAM, Intel UHD Graphics 605,
For some reason, when debug mode is activated, the debug program runs and appears onto the bottom right (only some of it) and i always have to drag it to see all of it, and after that the cursor doesn’t hide. (happens every time, in general)
I have tried the following lines of code:

Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
Input.set_mouse_mode(Input.MOUSE_MODE_CONFINED)
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)

None of the above work for me, i have tested them separately, and in some cases together for testing, but it still doesn’t work. I have also updated from v3.4.5 to v3.5.1 in hopes of success but the problems continued.