# Conditional text

Conditional text lets you show different passages depending on game state: variable value, visited step count, time spent, etc. It's the foundation of reactive storytelling.

# How to use it

1

Open the Insert menu

Click the ✨ Insert button in the toolbar, or press Ctrl+/ (⌘+/ on Mac).

2

Pick Conditional text

Click Conditional text. Direct shortcut: Ctrl+Shift+C.

3

Define your conditions

Pick the category (System, Step visited, Story variable), the variable, operator and value. Add ELSE IF / ELSE blocks as needed.

4

Fill in the text

For each block, write the text shown when the condition holds.

5

Insert

The Handlebars code is placed into your content and evaluated at read time.