I think you are talking engraving.

The flying head is positioned in X, Y and Z

The terrain following head is powered on X and Y but rests on the Z, thereby cutting a constant depth even if the surface is sloped or gently corrugated.