Achieving the right texture in candy-making often comes down to getting the sugar to the correct temperature. Using a candy thermometer can help ensure accuracy. Also, remember to stir your mixture continuously to prevent it from burning.