Camera system recorded the fish’s movements and translated it into directions. (Representational) Jerusalem: Goldfish may have…