UMG Mouse interaction

I have a key event in my character class and when I press tab it fires of to my hud and shows an inventory through a flip flop, it works fine! but I can press the mouse button everywhere and it disappears?? I have my input mode ui and game mode set when it’s showing,
what is happening?

Try setting your input to UI only, or temporarily disabling your character input when you are using your menu.

-Alfie

Well yes that works! but UI only, disables the keyboard by default so I can’t get out of it with esc key ?..