Fruit flies injected with magnetic nanoparticles and genetically modified to sensitize neural circuits to the rate of change in temperature have enabled subsecond behavioural responses to magnetic stimuli and multi-channel magnetic control.