Blueprint: How do i express "When any button is pressed except "this button" set a value to false/true"?

I’m trying to do a basic color change when i press a button the color turns to green and when i press any other button beside that button the color will turn red. Thanks for the help. I know the tedious way but i’m curious to know if there a quicker way.

Make a bool that is set when you press that button. Then you check to see if the bool is true, and if so, disregard.

But I think you may also have to map each button out as well to call the change to red. Not sure if they have a mapping option that includes anything on the keyboard/controller.

Haha yea that what i’m doing, there’s a lot of key on the keyboard but it’ll be done one day. Thanks for the reply

Much easier way for that purpose is to use Checkboxes masked as Buttons instead of a regular Buttons. Because Checkbox can remember its “pressed” state which Button can’t do.