Mask for electrodes and trajectory