What is the Main Idea of a Story?

The main idea of a story is the reason the story is written. If you want to write a story about a red cat who moves to texas then the red cat who moved to Texas would be the main idea.