What is the word that describes when an author hints at something that is going to happen later in the story.

Thanks!