When different species of birds flock together, their flight formations are determined by social dynamics both between and within species.