Combine sugar, melted butter, warm milk, vanilla extract, and all-purpose flour in a bowl. Whisk until a smooth batter forms.
Heat the waffle cone maker on medium flame and pour a ladle full of batter onto it. Close the maker and cook it from both the sides by flipping the cone maker.
Cook for approximately 2 minutes or until golden brown.
Remove carefully and shape it into a cone using a cone mould. Be careful as it may still be hot, but shape it quickly before it hardens.
Recipe by Bake with Shivesh at https://bakewithshivesh.com/ice-cream-cone/