Mouse clicks not working all the time

Hello, for some reason left/right clicking does not always receive input after removing a main menu widget from the screen.


If I disconnect this blueprint it works 100% of the time, but with it there it only works occassionally. I have tried disabling consume input, receiving input in player controller and the character, and using keyboard events. When I assign the input action to a keyboard key it works 100% of the time.

It seems to be related to the widget somehow, but I can’t for the life of me figure out why it isn’t working…

Thanks

1 Like

Hey @CaptainAwesome1!

I have noticed that the general thing to do in this case is to use “Set Input Mode Game And UI” from the start and do not change the Input mode again. Just Disable Input on the player controller when you show UI and Enable Input when you close it :slight_smile:

3 Likes

This solved it, thanks!

3 Likes