Preheat your oven to 350 degrees Fahrenheit. Line two large baking sheets with parchment paper or silicone baking mats to ensure the cookies do not stick and to help them bake evenly.
In a large mixing bowl, beat the softened butter and granulated sugar together until the mixture is light and fluffy. This usually takes about two to three minutes with an electric mixer, ensuring the sugar is well incorporated into the fat.
Add the eggs one at a time, beating well after each addition. Stir in the 1/2 cup of milk, the alcohol-free vanilla extract, and the anise or lemon extract. The mixture may look slightly curdled at this stage, but it will come together once the dry ingredients are added.
In a separate medium bowl, whisk together the flour, baking powder, and salt. Gradually add these dry ingredients to the wet mixture, stirring by hand or on a low mixer setting just until a soft dough forms. Be careful not to overmix, as this can make the cookies tough.
Scoop about one tablespoon of dough at a time and roll it into a smooth ball. Place the balls on the prepared baking sheets, spacing them about two inches apart. Bake for 8 to 10 minutes. The cookies should be set and the bottoms lightly golden, but the tops should remain pale.
While the cookies cool completely on a wire rack, whisk together the powdered sugar, milk, and extra alcohol-free vanilla until a smooth, thick glaze forms. Dip the top of each cooled cookie into the glaze, let the excess drip off, and immediately top with colorful sprinkles before the glaze sets.