Police in countries like Spain and China are using drones to stop people from going outside during the ongoing COVID-19 pandemic.

Spain's government announced that the country was in a state of emergency Friday, March 13, and the next day, everyone in the country was ordered to remain indoors, as reported by Business Insider. Days later, police were using drones equipped with speakers to yell at people breaking the rules.

It's very Black Mirror-esque, but it does provide a way for police to ensure people remain indoors without having to risk person-to-person interactions themselves. You can check it out in action in the tweet below from BBC News.

Police in Spain have been using drones to check the streets for anyone ignoring Spanish orders to stay home during the coronavirus outbreak On Saturday, the country's 47 million citizens were ordered to stay indoors except for necessary tripshttps://t.co/Yqcy5K9OLC pic.twitter.com/jmLlQfQYXc — BBC News (World) (@BBCWorld) March 15, 2020

China is doing the same with its own drones, warning residents to stay indoors unless absolutely necessary to leave the quarantine, as reported by Global News

You can check out China's drones working below.

Camera drones are employed in Hangzhou, China to urge elderly residents to stay indoors, amid the novel #coronavirus outbreak. #pneumonia pic.twitter.com/jpT3yvHnip — China Xinhua News (@XHNews) February 4, 2020

Check out some ways you can help others and stay safe during the COVID-19 pandemic

Wesley LeBlanc is a freelance news writer and guide maker for IGN. You can follow him on Twitter @LeBlancWes.