To achieve a center with melty marshmallows, you can press a few extra marshmallows into the dough balls before baking. The marshmallows will melt and create a deliciously gooey center in the finished cookies.