Put butter and sugar in a saucepan and melt over medium-low heat.
Add condensed milk and mix well while bringing to a boil.
Turn off the heat and add vanilla extract.
Sift in powdered sugar and mix until smooth.
Pour into a pan lined with parchment paper and flatten evenly.
Let it cool completely and set in the refrigerator.
Cut into bite-sized pieces and serve.