Genetisch gecodeerd optogenetic tools kunnen niet-invasieve manipulatie van specifieke neuronen in de Drosophila Hersenen. Dergelijke instrumenten kunnen identificeren neuronen waarvan activering is voldoende om te lokken of te onderdrukken bepaalde gedragingen. Hier wordt een werkwijze voor het activeren Channelrhodopsin2 die wordt uitgedrukt in specifieke neuronen in vrijlopende vliegen.