Articles on: Blocks Creator
This article is also available in:

🟧 Edit character

🟧 Edit character



The Modify character block allows you to dynamically update the attributes and visuals of a character during the execution of the application (e.g. chatbot), without having to recreate a new character.


This block is particularly useful for reflecting changes in the emotional or contextual state of a character (eg: transition from "Happy Bob" to "Sad Bob") by modifying its avatar, its text style or its animation effects.


📥 Entries


  • in (Flow): The narrative flow triggering the character modification.
  • character (ChatbotCharacterRef): Static reference of the character to modify.
  • image (Image): (Optional) New image resource for the character avatar.
  • entranceEffect (Animation): Animation effect when the character appears (e.g. entry from the left).
  • textStyle (TextStyle): (Optional) Text style applied to character messages (font, color).
  • borderImage: (Optional) Design of chat bubbles (background, border).


📤 Outings


  • out (Flow): Outgoing flow activated after applying changes to the character.


💡 Example of use


Scenario: Emotional evolution of a character in a quiz


  1. A “Quiz Master” character is created with a neutral avatar and a blue text bubble.
  2. The user correctly answers a difficult question.
  3. The Edit Character block is triggered to target “Quiz Master”.
  4. The image entry is updated with a smiling avatar, and textStyle turns green.
  5. During the next interaction, the character appears with their new style, reflecting their satisfaction.


⚙️ Technical Details

  • Options management: Optional entries not provided retain their previous value.
  • Performance: Modifications are applied in real time without reloading the character.
  • Compatibility: Works with all blocks displaying characters (eg: showText, showCharacter).

Updated on: 04/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!