Since it’s not clear from the link I posted, I should add that this technique is done frame by frame. So draw your mask, set keyframe, move forward one frame, repeat. It usually isn’t more than 15 frames (and often less), so it shouldn’t be too time consuming.