Hi @Powernewbie22,
You can achieve this in multiple ways but I attempted to keep the formulas similar.
Screen's OnVisible (you can name your buttons as you wish, and have unique colors for each)
ClearCollect(
ButtonColors,
{
Button: Button 1,
Pressed: false,
PressedColor: Red,
NotPressedColor: Green
},
{
Button: Button 2,
Pressed: false,
PressedColor: Red,
NotPressedColor: Green
},
{
Button: Button 2,
Pressed: false,
PressedColor: Red,
NotPressedColor: Green
},
{
Button: Button 3,
Pressed: false,
PressedColor: Red,
NotPressedColor: Green
}
);
Button's OnSelect property (update the formula - Button 1, Button 2 etc. - for each button)
UpdateIf(ButtonColors, Button = "Button 1", If(Pressed = false, true, false));
Button's Fill property (per button, like above)
If(LookUp(ButtonColors, Button = "Button 1", Pressed) = true, PressedColor, NotPressedColor)