How to disable a specific key?

Perhaps a simple bool is enough in this case:

257912-capture.png

Hello,
I’ve been researching for a while but have not yet found a specific answer so I thought I would find some help here. Anyways, I have a character that is set up to zoom when I hold down the right mouse button, but I also want the number “1” to be disabled while the character is zoomed in. Is there any kind of node that would help with this. Thanks a bunch to anyone who answers!

Cheers,
Introbyte Studios

Could you expand on the print string node?

It is just to show where to put the rest of the code the execution flow triggers. Ignore it, it’s debug only.