# Feature Tour

![The Feature Tour Sample.](/files/VSIjjyu73FOCBaMiOB1X)

The Feature Tour Sample is an ideal starting point for newcomers to Yarn Spinner. It presents a series of conversations along a corridor, each demonstrating a different capability of Yarn Spinner.

Are you ready to navigate this narrative gauntlet?

{% hint style="info" %}
You can learn how to add the Yarn Spinner for Samples to your project over at [Samples](/yarn-spinner-for-unity/samples.md).
{% endhint %}

## Features Covered

* [Nodes, Lines](/write-yarn-scripts/scripting-fundamentals/lines-nodes-and-options.md) and [Options](/write-yarn-scripts/scripting-fundamentals/options.md)
* [Jumps](/write-yarn-scripts/scripting-fundamentals/jumps.md) and [Detours](/write-yarn-scripts/scripting-fundamentals/detour.md)
* [Variables and Interpolation](/write-yarn-scripts/scripting-fundamentals/logic-and-variables.md)
* [Flow Control and Branching](/write-yarn-scripts/scripting-fundamentals/flow-control.md)
* [Commands](/write-yarn-scripts/scripting-fundamentals/commands.md) and [Functions](/write-yarn-scripts/scripting-fundamentals/functions.md)
* Storylets
* A Dialogue Interactible component and node-character associations

## Tour Structure

The feature tour consists of a long corridor with multiple rooms. Each room contains one or more interactive characters, with each character showcasing a specific Yarn Spinner feature. While this sample doesn't demonstrate every Yarn Spinner capability, it covers the most commonly used ones.

### Dialogue Interactible Component

At the heart of this feature tour is a class, **Dialogue Interactible**. This component is attached to each interactive character and associates a specific dialogue node with that character. If you're curious about how a particular feature works, you can identify which node contains that feature through this component.

![Sally talking about variables](/files/1opujzM8kEwYKUzPDJnY)

For example, if you want to see which node provides dialogue for a specific character, select that character in the scene and examine the Dialogue Interactible component.

![Sally's dialogue interactible component](/files/8NC8r79bQ6SnnMc07khD)

In this example, we can see the node is `Room4_Variables_2`. Since all dialogue in this sample is contained in a single file (`Tour.yarn`), you simply need to open that file and locate the node to understand its implementation.


---

# 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/feature-tour.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.
