How-to

Reuse logic with a logic block

Write a piece of logic once, as a logic block, and run it from anywhere.

Before you start

  • Know what the shared logic should do, and where it should run from.

Steps

  1. Make the block: on the Adventure Builder, drag Logic Block from the Add panel onto the canvas, or on Story › Logic blocks, click + New Logic Block. Type a name for it in the inspector.
  2. In the inspector, click Logic To Trigger. Add its lines, as in any logic, and click Save.
  3. Where it should run, add an outcome and pick Navigation › Run Logic, then in the second row Adventure Logic Blocks › your block. Click Save in each window.

Check it worked

The problems list no longer shows No logic yet for the block. Play-test: what the block does happens wherever you run it.

See also

Checked against main 9bb38dc, 2026-12-03Report a problem with this page