be a figment of imagination

be a figment of your/the imagination

if something is a figment of your imagination, it seems real although it is not I thought I saw someone standing in the shadows, but it was just a figment of my imagination.
See also: figment, imagination, of
Full browser ?