Can someone help me with out the best way to script several MCs (acting as buttons) so that on release(), the alphas on the others tween to 20. When you go to click a dimmed button, its alpha should tween back to 100 and the previous one that had the full alpha should now fade to 20.

Logically, I know I need to somehow implement a variable to check the state of the MC and an if statement but I'm confused as how to actually implement it. where to put it etc.

If anyone has a small example of something like this or can point me in the right direction, I'd really appreciate it. Am trying to figure it out before my next project starts.