Take sugar in a pan, add butter and milk. Let the sugar dissolve in milk. Keep it aside. In a bowl, take oatmeal, cocoa, peanut butter, and vanilla essence. In this dry mix, add the sugar-milk mix and stir evenly. Take a spoonful of the batter and flatten it out into round shapes. Put on a platter and chill till set.