The Pokemon Go craze and the mishaps that have occurred involving some players have highlighted how distractible we can be in the smartphone era, and how potentially dangerous that is for everyone when a vehicle is involved.

But a different sort of virtual reality may help educate drivers about the hazards of driving and texting or other distractions.

The program is called Distractology, and it’s been shown to be an effective part of driver education program, particularly for young people and novice drivers. Through the use of a computer simulator, new drivers encounter a variety of distracting scenarios involving smartphones, the radio, and eating or drinking at the wheel. After a relatively short session, new drivers can learn to anticipate possible hazards and remain focused on the road.

The program — developed by the University of Massachusetts at Amherst and the Arbella Insurance Foundation — has been shown to reduce accidents by 19 percent among the people who’ve participated in the program. Those drivers were 25 percent less likely to rack up traffic violations.

Its developers hope that Distractology, along with a broader educational campaign, could reduce the number of distraction-related deaths and injuries. It could also become part of a campaign against texting and driving that might build on the campaign against drunk driving that began in the 1980s. The National Highway Traffic Safety Administration has estimated that 10 percent of all fatalities are caused by distracted driving, or more than 3,000 a year. But few distractions are as dangerous as texting and driving.

“No one that I know of has any disagreement with the statement that texting is 20 times more dangerous than keeping your eyes on the roadway driving,” said Donald Fisher, a research professor in the Mechanical and Industrial Engineering department of the University of Massachusetts at Amherst who helped develop Distractology.

Fisher said his working interest in finding ways to reduce distracted driving and improve the safety record of young drivers grew even more intensely as his own daughters were about to learn how to drive. He and others at UMass developed Risk Awareness and Perception Training. The program, which at first was not much more sophisticated than a PowerPoint presentation, steadily evolved into more complex simulations of distractions and dangers. The National Highway Traffic Safety Foundation, using data from California, has found encouraging evidence that the approach could help reduce crashes among teenagers.

“We got a lot of very consistent feedback, and we heard that, ‘For the first time I see how dangerous this is,’ ” said John Donahue, chairman and chief executive of the Arbella Insurance Group. “They didn’t use the word epiphany. But this felt real.”

The program is particularly timely, with reports of people running into parked cars and trees while playing Pokémon Go.

The number of insurance claims involving pedestrian fatalities spiked last year, to one of the highest levels in decades, and there are signs that smartphone distraction has played a role, Donahue said. He said people are texting and walking and even texting and bicycling. Add that into drivers who are noodling with their smartphones, and it’s no surprise that the number of accidents is rising, he said.

“It is starting to show up as a whole new level of danger,” he said.