I can hardly remember this movie, I was really young when I used to watch it.
But I think it was a cartoon from the 80's, I didnt know how to read yet and I used to call it "The Sandman" if that helps.
I remember at the beginning, it showed real kids but then it would be a cartoon of them with that wizard and he would take their nightmares away. He wore like a blue robe,
and there was two halves to the movie, two different kids. the first kid was scared of the boogeyman,
and the second kid, the only thing I remember about the second kid was that there was a scene where she was in an arcade.

Please please please can you help me find out what this movie was called!
Thanks alot!