Recording the movements of people and animals has become easy because of small GPS devices and video cameras. However, the reasons for such movements remain difficult to infer. Scientists have developed a flexible artificial intelligence technology to understand the movement of animals, ranging from roundworms in petri dishes to penguins in the Antarctic Ocean. This method may make it easier to understand animal movements as well as their underlying brain activities.