The research showed exposure to marijuana improved global motion perception. The children exposed to marijuana in the womb were almost 50 per cent better at the task than children with no drug exposure.

Exposure to alcohol worsened motion perception, while nicotine and methamphetamine had no effect on vision.

The research also showed the effect got bigger with larger doses, he said. Babies exposed to more alcohol had worse motion perception, while babies exposed to more marijuana had better results as preschoolers. Interestingly, the research also showed the effects of the two drugs seemed to cancel each other out: exposure to both alcohol and marijuana had no effect on motion perception.

That finding suggests there may be neurochemical ways for doctors to counter the effects of prenatal exposure to drugs, he said.

The research underlines that exposing a fetus to these recreational drugs is not neutral or benign, Thompson said. "It tells us quite clearly that exposure to these drugs is having an impact on brain development."

The children were part of the international IDEAL (Infant Development, Environment and Lifestyle) study, which looked at the effects of prenatal drug and alcohol use on a variety of motor and cognitive skills.

The researchers hope to use brain imaging to see if differences in prenatal exposure to various drugs actually leads to differences in activity in the visual parts of the brain, Thompson said.

cthompson@therecord.com , Twitter: @ThompsonRecord