Cook butter and sugar until slightly thickened. Cool slightly. Stir in milk and powdered sugar until spreadable. Add vanilla.