Mask welding involves a line-shaped laser beam being directed over a mask. The mask is transparent for the beam along the welding contour and is reflective on the points that are not welded. The procedure is characterized by the virtually unlimited design of the weld contour.