A boy had a pie thrown into his face as practical joke.