Cook the macaroni until al dente according to package instructions.
Drain the macaroni and set it aside.
In a saucepan, melt the butter over medium heat.
Whisk in the flour until smooth and cook for about one minute.
Gradually whisk in the milk, stirring constantly until thickened.
Stir in the shredded cheddar cheese, garlic powder, salt, and pepper until melted and smooth.
Combine the cooked macaroni with the cheese sauce, mixing well.
Use the pasta heart-shaped cutter to create heart shapes from the macaroni mix.
Preheat your oven to 350°F (175°C).
Place the macaroni hearts on a baking sheet and bake for 15-20 minutes until golden.