Gradient: alpha 100 to alpha 0

Can you make so that an mc gradually along the horisontal line turns invisible? Kinda like the color thats at the very bottom-left of the color-pallette, but with instead of colors, use alpha.