This is basic I know but I'm stumped

I'm working on an app that has multiple buttons on the screen. The program is used on a touchscreen so I have a timer that flashes each active button. I need to be able to call each buttons timer to turn it off or on depending on if the pause button has been pressed for the program. The pause button would override the individual buttons time in a sense. I'm sure there may be a better way to do the button flashes without having a timer for each but I haven't figure that out.

I have a variable (ButtonSelected) that is an Integer. It gets set when 1 of 24 buttons is pressed. There's only 1 active button at a time. I simply want to call a timer based on what button is active. Something like

TmrBtn(ButtonSelected).enable = False

Any guidance is appreciated.