Button stays "pressed" after being clicked


Is there a way to make a button “pressed” after clicking it and if I click another button the previously selected button back to it’s default color?

Can anybody help me with this?

Hi @pkkky

Sure you can, Here an example of just 2 buttons,
For bigger numbers you should add some arrays.

Here i added the style node, in witch you can set some stuff of the button, like the image shown,
(I didnt addedd the image, just pin out any pin in the make button style and add a make slatebrush to fill in the informations)
Or you can add a border to the button, and have that change color.

Thanks for the reply @Est_engine!

I did something like this and I wonder if it is possible to simplify this blueprint?

Sure man @pkkky

As you can see you have 4 buttons if they are of the same type, you can list them in an array.
Once you have an array you can use a loop to "Set the background " to everybody with one node,
and using a integer, say to ma White Background to only the n X.

So just call “Highlight” N4 , and will be all black but the N 4

“”""“For Automatic Array , how get the reference to HBOX_A “””"

@Est_engine Thank you!