LogoPixi’VN
indexType aliases

Type Alias: HistoryGoBackModeType

> HistoryGoBackModeType = "step" | "paragraph"

Defined in: src/history/HistoryManagerStatic.ts:14

How often a go-back-able checkpoint is recorded:

  • "step" (default): every single narration step, matching visual-novel-style games where the player may want to undo one line/sprite change at a time.
  • "paragraph": only when a new paragraph starts (the number of opened labels changes), a choice is proposed, or an input is requested - matching book-style narrations where undoing mid-paragraph doesn't make sense to the player.