godan verb (-ru), intransitive verb
Describes something moving across a space or through one's mind, often briefly or unexpectedly. Common with subjects like 考え (thought), 不安 (anxiety), or 影 (shadow).
ふと、嫌な考えが頭をよぎった。
An unpleasant thought suddenly crossed my mind.
鳥の影が窓の外をよぎった。
The shadow of a bird passed by outside the window.