Copyright © 2025-2026 Candy ArtsDialogue Box
The Dialogue Box displays Lines in Box mode: the spoken text, with an optional speaker label and portrait.
- Script: Box_UI.gd
- Templates: Scenes/Dialogue_Boxes
- Updates: the script is 'unsafe', and so is every template except Default.tscn (see Customizing UI Elements, on the UI page)
- Engine path: dialogue_box_path in ui_elements_paths
- Settings: see Box Mode
| Variable | Node |
| dialogue_node | Required. RichTextLabel: the spoken text. |
| portrait_node | Required. The node that displays the portrait: any node type listed in Media Files that shows images or videos. |
| voice_node | Required. The voice player for this Dialogue Box (see Voice Players). |
| speaker_node | Optional. RichTextLabel: the speaker's name label. Leave it empty for a Dialogue Box without one. |
| portrait_area | Optional. The node containing the portrait and its decorations. It is shown and hidden along with the portrait, so a frame or background doesn't stay on screen without it. When left empty, only portrait_node is shown and hidden. |
| portrait_bg | Optional. A node behind the portrait, such as a background image. |
| portrait_fg | Optional. A node over the portrait, such as a frame or overlay. |
| portrait_effect_player | Optional. An AnimationPlayer for effects on the portrait. |
- In speaker_node, whenever one is assigned.
- At the start of the spoken text, when box_show_speaker (or its overrides) is on.