Thank you!!! Now I see my question is inaccurate.
I'm building browser game and I want to add a menu which is slightly transparent (50%) and when i move with the mouse on the menu (my sprite) transparency changes to 100% (Shown) and it shows better and when i leaves the sprite with the mouse the transparent returns to 50%