# Storylets and Saliency

**Storylets and Saliency** are a new feature of **Yarn Spinner 3** that has quite a few different pieces to making it work. Because of this we have multiple samples dedicated to demonstrating these.

The samples are not about the **concept** of storylets and saliency, if you are new to this and wondering what this all means, then we *highly* recommend our [Storylets and Saliency Primer](/write-yarn-scripts/advanced-scripting/storylets-and-saliency-a-primer.md).

The samples assume you are comfortable now with both the [concepts of storylets and salient content](/write-yarn-scripts/advanced-scripting/saliency.md) and [writing them](/write-yarn-scripts/advanced-scripting/node-groups.md) in Yarn Spinner.

There are three **samples** around using storylets and saliency in Yarn Spinner for Unity:

* [Basic Storylets and Saliency](/yarn-spinner-for-unity/samples/storylets-and-saliency/basics-storylets-and-saliency.md) goes over the basics of using storylets in your games
* [Custom Saliency Strategies](/yarn-spinner-for-unity/samples/storylets-and-saliency/custom-saliency-strategies.md) looks at how you can create custom saliency strategies
* [Advanced Saliency](/yarn-spinner-for-unity/samples/storylets-and-saliency/advanced-saliency.md) demonstrates using storylets and interpolation together to build entire dynamic stories and events.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yarnspinner.dev/yarn-spinner-for-unity/samples/storylets-and-saliency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
