Scripting Fundamentals

If you’re here, you’ve worked through First Steps, and setup the Yarn Spinner Editor, and you’re ready to dive into the details of writing dialogue with Yarn Spinner.

This section of the documentation will take you through the scripting fundamentals:

  • combining Nodes, Lines, Options, and Jumps for simple interactive narratives
  • using Detours, Variables, and Yarn Spinner’s Flow Control features for more complex interactions
  • the basics of Commands and Functions in Yarn Spinner
  • running options Once, and Line Groups for flexibility and control

Once you’ve completed it, you can move to advanced-scripting.

Get started Nodes and Lines Learn about nodes and lines in Yarn Spinner scripts.