A Newmarket woman is under arrest after she allegedly shot Pokémon Go players with a pellet gun from the roof of a building.

York regional police were called to Main Street South near Water Street around 10:30 p.m. on Saturday.

A woman was on the roof of a two-storey building, shooting a handgun-style pellet gun at people playing Pokémon Go below, police allege.

No one was struck, police said.

Patricia Champagne, 29, was arrested and charged with assault with a weapon and possession of a weapon for a dangerous purpose.

A pellet gun similar to the one used in Newmarket Pokemon Go shooting, July 25, 2016

Police forces across Canada have warned of the risks of playing Pokémon Go, but those warnings had more to do with distraction than being victims of violence.

The cellphone-based game sends players into the real world to search for digital monsters known as Pokémon, who appear on screen when users hold up their iPhones or Android devices in various locations at various times.

“Are you about to step into traffic? Are you going to crash into someone or something? You could end more than just your game,” Vancouver Police said. “It is very easy for any stranger to know your gathering spots. Make sure you go with a group, and that younger kids tell parents or another adult where they’re going.”

Some police forces have also been employing the hashtag “DontCatchAndDrive” as players roam community streets.”

With files from The Canadian Press