foreshadowing
noun
- Subtle hints about events to come, which build anticipation and make twists feel inevitable in hindsight. A storm rolling in during the wedding toast quietly signals the trouble ahead.
In plain words
- hint at what's coming
- give clues early
- the twist should make sense looking back
See also setup and payoff Chekhov's gun dramatic irony