Skip to main content

Nodes

Nodes are containers that hold story content. Think of nodes like pages in a book - each one contains a section of the story.

Basic Node Structure:

title: NodeName
---
Your dialogue goes here.
===

Steps to Create a Node:

  1. Write title: followed by a unique name for the node
  2. Press Enter and type three dashes ---
  3. Press Enter and write your dialogue content
  4. Press Enter and type three equals signs ===
warning

Tip: The first node in your file automatically plays first - name it something like "Start" for clarity.

Every Yarn file needs at least one node. The app uses node names to jump between different story sections.