There is a buttonhole foot that you use with the automatic button hole function on the machine. You set the foot to the size of your buttonhole and then the machine should do the rest for you. Have you looked in your machine manual?

Wife to Rod and Momma to Tyreque, Ladaria, Raquel, Brayana, Destini, Jaleel, Makkiah, Taniyah and Cavelle along with my angel in heaven Angie and 85 foster kids who have left imprints on my heart All Ribboned Out Remember Me Pillows to Remember your loved one whose far away