How to get GameMode blueprint to detect input?

I have the following script that works in every blueprint except one derived from AGameModeBase:

How can I get the GameMode blueprint to detect input?

You can use the EnableInput function from the player controller to allow a blueprint to receive them.

I did this in my GameMode blueprint and it worked

However I believe it’s better to not enable this on too many blueprints as this could probably cause performance issues.

Do you have any UMG widgets focused when you hit the Pause button?
Do any of the other objects or actors that are in the world when this input action should fire, also handle this input action or listen for it, and if so, do they Consume it?