Skip to content

Text

Shows the text in the center of screen on a black background

Parameters

NameTypeOptionalDescription
...textsstring[]Lines to display

Usage

ts
engine.script({
  start: [
    engine.action.text(
      "If Kira gets caught, he is evil.",
      "If Kira rules the world, he is justice."
    ),
  ],
});

Released under the ISC License.