Hi!, i'm currently working on a dark adventure game in Godot, for inmersion purposes i've decided to create my own cursor which is a hand. I'm using an animated sprite that follows my mouse around and is working great.
Only issue i have is that the mouse shows when i start the game, until the user moves it at least one pixel.
This is the code i use upon cursor initialization
The cursor is a singleton global that is loaded on the proyect globals
This is how it looks when i start the game
This is fixed when i move the mouse just a tiny bit
Maybe it has something to do with the active window?, maybe when the game loads the window (since it is windowed) is not the active and so the mouse hide setting is not taking effect since now it only affects the cursor inside the game (because for instance i can see the original mouse in the title bar).
Any help will be very appreaciated. Also wanted to add that i don't have a splash screen or loading. Thanks in advance :D.
P.D: Tried setting the mouse mode in each scene that uses the cursor individually and didn't work either.