A Japanese research team has unraveled the Venus flytrap's detailed mechanism to detect insects using its touch sensor. The team incorporated a type of protein that glows according to the calcium ion levels into the cells of the Venus flytrap. The calcium ion levels increased when cells at the base of the sensory hairs were exposed to touch stimulus. The electrical potential also changed. This, paired with changes in calcium ion levels, caused the leaves to shut, the team said.