I have several buttons I need to turn on and off (visibility and alpha) but the function I have written that determines if a given button should be turned off works based on a few variables. I need to be able to control which button is turning on and off with these variables.
I have tried this (“btn” + i)._visible or alpha but does not work. Does anyone know how I can accomplish this?