How to return mouse control without clicking the screen

Hello guys, I have the following situation:

I have a password console that uses mouse(for clicking the keys), everything runs perfect, but when I quit the console(pressing “E”, or if the correct password is typed), the mouse control don’t work unless I click somewhere in the screen.

(When I press “E” it toggles to the camera below)

What can I do(with blueprints) to return mouse control without clicking the screen?

Hey -

If you get a reference to the player controller, you should then be able to add a Set Input Mode Game Only node when you want input to return to the game. This will cause the game to capture the mouse immediately.


1 Like

It works perfectly. Thank you very much!

Works for me too, now my multiplayer system is ready to go! Thx!!