Measles can spread through coughing and sneezing. It can live for up to two hours in the air.