Preheat oven to 350℉. If butter hasn't been softened you can place in microwave for 10 seconds to soften it.
In a large bowl, cream together softened unsalted butter (1 cup, i.e. 2 sticks) and granulated sugar (1 cup) on medium speed for 20-30 seconds. While mixer is still on medium speed, add in egg (1 large), vanilla extract (2 teaspoons) and almond extract (1 teaspoon).
Once mixed, add in baking powder (1 ½ teaspoons), salt (½ teaspoon), and *all-purpose flour ½ cup at a time (2 ¼ cups total). Be sure to measure your flour properly using the spoon & level method, as adding too much can result in dry bars. Mix until all flour disappears, typically 20-30 seconds. You do not need to beat/mix this any longer than it takes to mix in the flour.
Spray a metal 9×13 pan with cooking spray, then line pan with parchment paper (having the grease underneath the paper will help the paper stay down).
Drop the dough into 1 tablespoon sized chunks into the prepared pan. Use your hands or a spatula to press down the dough until it covers the pan. Tip: If the dough is sticky, you can place another piece of parchment paper on top and continue pressing down.
Bake bars at 350℉ for 14-16 minutes. The trick to soft sugar cookie bars is to take them out right when you see the TINIEST amount of brown around the edges. The center may look underdone and this is okay; the bars will continue to bake in the hot pan when cooling.
Allow to cool completely before frosting (you can put the pan in the fridge on a cooling rack to speed this up).
In a large bowl, beat softened unsalted butter (½ cup, i.e. 1 stick) on medium speed using a hand or stand mixer (with paddle attachment) for 1-2 minutes (until light and creamy).
Keeping the mixer on medium speed, slowly add in vanilla extract (2 teaspoons), almond extract (½ teaspoon), and powdered sugar (2 cups). Once incorporated, turn mixer to high speed and beat for 2 minutes until light and fluffy. Add 1 tablespoon of milk and beat for 30 seconds. Add the remaining 1 tablespoon of milk if frosting seems too thick to spread.
If using sprinkles, add them immediately after frosting. If you wait too long, the frosting will set and the sprinkles won't stick.
