> For the complete documentation index, see [llms.txt](https://academy.theufolab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.theufolab.com/game-editor/components/subcomponents/dialogue.md).

# Dialogue

<figure><img src="/files/FN1Jr0SrWYpGTsoPbIb6" alt="" width="188"><figcaption></figcaption></figure>

The **Dialogue Component** in UFOLAB is a feature that allows game creators to add text-based dialogues, similar to those used in narrative-driven games. It’s designed to simulate character conversations or provide story elements to players in different stages or phases. This component is ideal for storytelling, giving instructions, or delivering information in a dynamic, stage-by-stage manner.

<figure><img src="/files/ELErRNwED8qcKpjE5kVT" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/r3kJ2SVdWESg0RyyhLDy" alt=""><figcaption></figcaption></figure>

***

### How to Set Up the Dialogue Component

1. **Adding the Dialogue Component**:
   * In the game editor, locate the **Dialogue Component** from the left toolbar in Components.&#x20;
   * Drag the **Dialogue Component** into the scene where you want the dialogue to appear.
2. **Dialogue style**:\
   You can personalize the appearance of the dialogue by adjusting fonts, text size, and color to fit the overall game design. <br>
3. **Configuring Dialogue Stages**:
   * Once the component is added, you can set up the dialogue in different stages. This feature allows you to separate the conversation or information into manageable parts, which the player will experience in sequence.
   * For each stage, you need to add 3 dashes (---) and then Intro in your Keyboard.

{% hint style="info" %}
Dialogue stages need to be separated by: Intro + --- + Intro. \
Example:

\
CHARACTER 1: Hello

\---

CHARACTER 2: I am Ryder
{% endhint %}

4. **Configuring Dialogue Options**:

* **Speed: n**umber of keystrokes per second.
* **Characters per tick: n**umber of characters typed per keystroke.
* **Delay: w**ait time in seconds before typing starts.
* **Key sound:** different styles of sound to adjust this component to the game style.

<figure><img src="/files/Tsnl62rB1xJg8S6BBaCz" alt=""><figcaption></figcaption></figure>
