Which infectious agent are you talking about. If it’s Sars-Cov-2, they wouldn’t have to hug or touch at all. In an enclosed room the infected individuals breathing alone would be enough to aerosolize and circulate viral particles. There have been a number of studies of localized outbreaks where people were infected just by sitting in the same office for long enough even though they were 60+ feet away.
Latest Answers