Spiders have developed a few different ways to prevent themselves from getting caught, one of which is an oily substance secreted from their mouths onto the legs which makes it less prone to sticking. Another is that spiders legs have many bristles, and are also strong enough to not let the spiders legs make too much contact with the glue they use to make their webs sticky.
Latest Answers