Skip to content

AnimateCharacter

Animates the character

Parameters

NameTypeOptionalDescription
characterstringPerson ID
classNamenumberElement.className

Usage

ts
engine.script({
  start: [
    engine.action.showCharacter(
      "Naruto",
      "horny",
    ),
    engine.action.animateCharacter(
      "Naruto",
      'animated pulse-animation-500-ms'
    ),
    engine.action.say('Naruto', 'S-sakura-chan...')
  ],
});

Released under the ISC License.