Resume paused game with action input

I have been following [the tutorial video][1] to create pause menu. Everything works nicely, but what I don’t like in this video is the way of closing pause menu using input.

https://cdn.pbrd.co/images/8Dqfiuirs.png

I kinda do understand that when game is paused, there is no input coming through the Controller, so it cannot be done in the Controller blueprint. Sadly the solution is not even working for me, hitting Escape key shows pause menu for a glimpse and then hides it again. Most probably because of this checking based on tick.

I would like to know if there is some other way how to do this?

I also don’t like hardwiring the Escape key here this way, that’s kinda bad solution for a multiplatform game. It’s possible get input mapping key somehow and check for that?

I have actually found a way and it’s not that difficult, but easy to miss. If you see details panel for a event node, there is a nice checkbox available.

https://cdn.pbrd.co/images/g5t6KXXiX.png

Works like a charm. Just be careful not to use node Set Input for UI only which might be tempting with pause menu. That would have prevented any input going through PlayerController and not really working.