The optogenetic toolset is composed of genetically encoded molecules that, when targeted to specific neurons in the brain, enable the electrical activity of those neurons to be driven or silenced by light.