I don't know what exact candy you are referring to, but all candy has sugar as the primary ingredient. The sugar is either boiled in water into a concentrated solution or is utilized in the form of high fructose corn syrup (another concentrated solution). Damp sugar is very sticky by nature. When the sugar absorbs moisture from the air in high humidity environments, it becomes damp and sticky. Since the sugar in the candy started in a concentrated solution, it is even easier for it to absorb extra water. The best way to prevent this would be to keep the candy in a humidity controlled environment like an air conditioned room.
Thank you very much.I am making gummy bear candies with gelatin.I notice the gummy bear start to stick together.
The sugar based candy, at room temperature or warmer, becomes very "sticky". The easiest way to avoid your problem is to cool your candies in a fridge before cutting. This will harden the candy a bit, but the more firm the candy is, the less sticky. You can sit the candy back at room temperature and they will soften again as they warm.
Thank you very much.