How to do this

i see sometimes a graphic or text and a streak of white like light pass over some of it, how is this done. Is there a tutorial I can look at?