Pterosaurs were the first vertebrates to achieve true flapping flight, but in the absence of living representatives, many questions concerning their biology and lifestyle remain unresolved.