Woow thank you very much it works now

But i have to change the code a little bit for that.
for coloring the Image Button i used the backgroud sprite of the Image Button:
public UISprite objSprite;
void AttackButton1()
{
objSprite.color = Color.gray;
}
and now it works thanks, your my hero
