How do I close my Multiplayer Pause Menu with Enhanced Input?

Hi,
I’m unsure how to realize a Pause Menu in Multiplayer that I can close with the ESC button using the Enhanced Input System.

If I set Input Mode to UI Only, it says that no Input Action will go through at all. But when I set Input Mode to Game and UI, I’m not sure how to block all the other Player Input (which in Singleplayer wouldn’t execute because the Game is paused).

My idea was to create an Input Context Mapping just for the ESC button, but I don’t think I’m supposed to remove all the other Mappings temporarily since there’s no function to do that in Blueprints. Is there a Best Practice on how to handle this in the EIS?

I stumbled upon the solution in a YouTube video, you can override the On Key Down Function in your Pause Menu Widget and as long as your Widget is in Focus any key presses will show up in there even while your Input Mode is UI Only.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.