A sensor buttonhole is a sewing machine feature that allows for fully automatic sewing of buttonholes precisely tailored to the button used. The button for which the buttonhole is intended is inserted into a special presser foot, which is part of the machine's accessories. The machine automatically measures the size of this button using a sensor and then sews a buttonhole of the corresponding dimensions in one step, without the need to turn the fabric or manually change settings. This ensures that all buttonholes on the garment will be of the same size and precisely adapted to the specific buttons.