Melted butter and room tempture butter? Does it really matter when baking?

When i bake cookies i always semi melt the butter but do i need to leave it out for room temperature?
Update: so how long do i leave it out for?
5 answers 5