Tosi suggests changing the shape or texture of your cookies to make them gooey, and one of the easiest ways of doing this is to bang the cookies on a hard surface. To do this, spread your cookie dough balls on a sheet pan, bake them for a few minutes, and quickly smash the sheet pan with the cookies down on the oven rack before doing the rest of the baking.