“…Flies, like many other insects, display individual heading preferences, maintaining a specific 'goal heading' for periods of time (SI Fig S3) [28,31,43], a behavior that is thought to aid dispersal and long-range navigation [44][45][46][47][48][49]. However, rather than purely fixating on one goal heading, both walking and flying flies also explore other headings while centering their explorations around the goal heading [28,31,43,[50][51][52], a behavioral pattern that matches our observations in this paradigm. These results led us to compare two alternative hypotheses: one in which flies' actions were linked directly to specific visual patterns, as has been suggested to explain fly behavior in this paradigm (see, for example, [53]), and one in which flies' actions were linked to an internal goal heading.…”