Pan cookies are done when the edges of cookie that touch the pan are slightly golden brown. The center will be somewhat soft, never firm. The cookies will continue to cook as they cool in the pan. You can insert a toothpick in the center of the cookie bar, and only moist crumbs should cling to it. Overly wet batter means the cookie bars need more time to cook.