Animal behavior is known to rely on transforming sensory information into motor commands, often influenced by an animal's internal needs. While in mammals and other large animals this process is supported by complex brain processes, simpler versions of it might also guide the behavior of smaller living organisms, including insects.