How can I make a key disable other key

Let’s say when I press “F” you can’t longer press Left Mouse button (which for me is for shooting).

So when you press F make a bool variable that gets set to true. Now when you press the Left mouse button it reads that variable and if its true do nothing. False then shoot.

Awesome thank you :slight_smile:

Can you show us blueprint how did you solve that