I have a Widget that allows me to type my name and such and as soon as I type in the name and press enter it brings me in game and removes all widgets and places a new one, but when it changes I’m trying to remove the mouse without having to click to remove the mouse! This is what i have so far. I have looked at multiple questions on here and they all say connect the player controller in set input Mode to “Get player controller”, but that just makes my game not even take the mouse at all and makes it not able to be on the screen, but on the outside of the screen only.
The UI only option has some weird issues associated with it. If your playable character doesn’t spawn until you’ve entered your name I’d use UI and Game use the show/hide mouse cursor functionality.
In fact, hide mouse cursor might solve your problem altogether on its own. Just add the node show mouse cursor and set it to false.
I did this way and use an input keyboard Key on my character, for switch between mouse activation on stage. Not sure but maybe this solve your issue … ; ] ,
Ya that would work, but I’m going from a title screen and want the mouse to be there and once I give a name to the player it will then move to the game and I dont want to have to click to move to the game from the hud. The character is spawned once the game has begun he is just behind the hud!
Does the player press enter or something to confirm his name? It’s just after that you need to add it, whatever it is that causes the player to be moved to the game should also set show mouse cursor to false.
If you still have to click to move to the game then there is something plain wrong going on. It might be the UI only thing, it requires a focus node to work properly and even then I’ve found it sketchy.