Project Mammut Wiki
Project Mammut is currently in open beta. The UI is being updated a lot during this time, and you may run into bugs. If you'd like to help develop the engine or suggest features, come find us on Bluesky or Discord.

Variables Manager

Written 4 Aug 2026 · Requires Mammut 0.6.2+

The Variables Manager allows you to create and manage project-wide variables that can be accessed throughout your game.

image.png

The Variables Manager can be accessed the button in the editor

image.png

Project variables are shared between dialogue and scene scripts:

  • In dialogue, variables can be displayed using {$varName} and modified using {set($var, expr)} (see Logic).
  • In scene scripts, variables can be accessed using Store.Get and Store.Set (see Coding).

Project Variables

The Project Variables list displays all variables currently available in your project.

Each variable shows:

  • Its name.
  • Its data type.
  • A preview of its current value.

New variables can be created using the Add Variable button.

image.png

Variable Types

Each variable type provides its own editor:

  • String — Stores plain text values.
  • Number — Stores numeric values with validation.
  • Boolean — Stores a true or false value.
  • Array — Stores a list of values that can be expanded or reduced.
  • Object — Stores raw JSON data in a text editor.