in passingdone or said while you are giving your attention to something else
"I only heard his name mentioned in passing."