|Attention||Topic was automatically imported from the old Question2Answer platform.|
Is there another way to hide the windows cursor other than MOUSE_MODE_HIDDEN.
I need the functionality of MOUSE_MODE_CONFINED but with the windows cursor hidden as i have my own cursor Sprite following the mouse, so MOUSE_MODE_CAPTURED doesnt work as well.
I’m not aware of another way. Though, from the docs,
MOUSE_MODE_CAPTURED sounds like what you want. Though, since you mention it doesn’t work well, can you explain where it falls short?
jgodfrey | 2020-02-09 00:53
MOUSE_MODE_CAPTURED always centers the mouse in the middle of the screen so i cant interact with texturebutton nodes correctly
IntCaster | 2020-02-09 02:48
Hmmm… Yeah, a quick test here shows the same thing (in captured mode, the mouse always reports a single point at the center of the screen).
I’m really not familiar with the details of the
MouseMode settings, but
MOUSE_MODE_CAPTURED doesn’t seem to work as it’s documented.
While I’m not sure, that feels like a Godot bug.
jgodfrey | 2020-02-09 04:10
Yeah, maybe an (old?) bug…
jgodfrey | 2020-02-09 04:14
is there any “easy” way to view/change the c++ implentation of the gdscript set mouse mode function?
IntCaster | 2020-02-09 16:23