how to detect the alpha of the gui button. If the alpha of the gui button is zero some thing should execute.If the alpha of the particular gui button is zero or less than 30 % some thing should happen.How to check this condition.
if you are running the script attached to the button then try using GUI.color.a == 0f; or GUI.color.a < 0.3f;