Preheat the oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a large mixing bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy.
Add the eggs one at a time, mixing well after each addition. Then, stir in the vanilla extract and cotton candy flavoring.
In another bowl, whisk together the all-purpose flour, baking soda, and salt.
Gradually add the dry mixture to the wet mixture, stirring until just combined. Be careful not to over-mix!
Use a cookie scoop or tablespoon to drop rounded balls of dough onto the prepared baking sheet. Leave space between each cookie. If desired, sprinkle colorful sprinkles on top before baking.
Bake in the preheated oven for 10-12 minutes, or until the edges are lightly golden. The centers will look a little underbaked—trust us, that's perfect for softness!
Allow the cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.