Skip to content

Clear

Clears the screen, hides all dialogs, and sets a black background.

DANGER

Avoid using clear directly, instead make another branch and jump into it.

Usage

ts
engine.script({
  start: [engine.action.clear()],
});

Released under the ISC License.