After all the cookies are dipped, pour remaining candy melts into a piping bag with a fine tip or a zip-top freezer bag with a small corner snipped. Create a line of candy melts across each cookie where the dipped area meets the cookie to create a hat brim. Repeat the line if desired to create a thicker looking brim. Allow to set completely before proceeding.