# Advanced Scripting

If you're here, you've worked through the [Beginner's Guide](/beginners-guide.md), setup the [Yarn Spinner Editor](/write-yarn-scripts/yarn-spinner-editor.md), and learned the [Scripting Fundamentals](/write-yarn-scripts/scripting-fundamentals.md) of Yarn Spinner.

Now it's time to look at some more advanced features, including:

* Node Groups, Storylets, and Saliency, for complex, responsive storytelling with Yarn Spinner
* Tags and Metadata, to give you flexibility on how your lines are handled in a game engine
* Markup, for providing hints on how narrative text should be displayed, as well as running commands in a game engine within lines
* Shadow Lines, for marking when a line is an identical duplicate of another line
* Writing Together, using the Live Share Extension for Visual Studio Code.

Once you've completed it, you're ready to use Yarn Spinner with a game engine, such as [Unity](/yarn-spinner-for-unity/overview.md)


---

# 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/write-yarn-scripts/advanced-scripting.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.
