The Mimosa pudica plant is very special, it has evolved to close its leaves and then point its stems towards the ground when touched by an insect as it lands on it, making it difficult for the insect to feed on the leaves.
Female butterflies are unable to tell the difference between these and real eggs, so they lay eggs on other leaves to avoid competition when they 'might' turn into caterpillars.