Not necessarily. I could begin a writing without telling you anything of the setting. For example, I could only describe the inner thoughts of a character, without ever giving you a hint of where that character is, what time period, or even who the character is / or their name.
Setting is when an author gives specific descriptions or subtle hints of location, time period, etc. It could begin on sentence #1:
The streets of Memphis, Tennessee had never looked so deserted.
Or setting could be held off for a couple or several pages.
Mount Olympus
Mount Olympus
Mount Olympus Beast
Mount Olympus Beast
the setting of Johnny Tremain at the beginning of the book the setting takes place in colonial Boston at the Laphams silversmith shop and in the heart of Boston
Generally in the beginning of the story, exposition refers to the establishment of the setting and characters of the piece.
Normally the setting of a story happens in the beginning of a story A good author provides constant setting throughout the story to give you a vivid mental image of where the story is taking place.
the beginning followed by the middle the the end
At the beginning of the story, the narrator is typically introducing the setting, characters, and themes. This is where the foundation for the narrative is laid and the reader gets a sense of what to expect from the story.
The beginning of the story where the action is fairly flat and the setting and characters are established is called the exposition. This part of the story sets the stage for what is to come and provides essential background information for the readers.
Exposition does only occur at the beginning of the story because it introduces the characters, the setting and states the conflict.
A basic situation is at the beginning of a story, and explains the plot, the characters, and setting, etc.