On reaching the set distance, the fish were prompted by an external cue - such as a researcher waving their hand - to turn around and swim back to the start position.