Group-living organisms that collectively migrate range from cells and bacteria to human crowds, and include swarms of insects, schools of fish and flocks of birds or ungulates. Unveiling the behavioural and cognitive mechanisms by which these groups coordinatetheir movements is a challenging task. These mechanisms take place at the individual scale and they can be described as a combination ofpairwise interactions between individuals and interactions between these individuals and the physical obstacles in the environment.Thanks to the development of novel tracking techniques that provide large and accurate data sets, the main characteristics of indivi\-dual and collective behavioural patterns can be quantified with an unprecedented level of...