Clear
Clear the text box
Description
'clear'The clear action removes all dialog content from the text box, leaving it blank. This is useful for scene transitions, dramatic pauses, or resetting the display between sections.
Action ID: Clear
Reversible: Yes
Requires User Interaction: No
Behavior
When the clear action is executed:
Calls the Dialog action's reset method
Preserves and saves NVL mode state (if active)
Records the text box mode in history for rollback support
Automatically advances to the next statement
NVL Mode Handling
The clear action has special handling for NVL (Novel) mode:
If NVL mode is active, it's preserved (
keepNVL: true)The current NVL state is saved for potential rollback (
saveNVL: true)On rollback, NVL mode can be restored if it was active
Basic Usage
Use Cases
Scene Transitions
Clear the dialog before changing scenes:
Dramatic Pauses
Create dramatic moments by clearing the text:
Chapter Breaks
Use clear to separate chapters or sections:
Before Centered Text
Clear the text box before displaying centered text:
NVL Mode Clearing
In NVL mode, clear removes all accumulated dialog but keeps NVL mode active:
Rollback Behavior
The clear action supports rollback:
When going back past a
clear, the previous dialog state is restoredIf NVL mode was active when
clearwas executed, it will be restored on rollbackThe engine tracks the text box mode (ADV or NVL) in history
Examples
Full Scene Change
Conversation Reset
Related Actions
Last updated
Was this helpful?