When blue light hits it, it opens up a little hole and allows charged particles to enter the eye-spot, and that allows this eye-spot to have an electrical signal just like a solar cell charging up a battery.