Help · Interactivity

Triggers & variables

Make slides react: jump, show layers, set variables, all without code.

Triggers make the slide react. For example, jump to another slide when a button is clicked, show a layer, or set a variable.

Click Triggers in the toolbar (⌘⇧T).

The Triggers pane with New trigger, Quick add and Variables

Quick add

Quick add gives you the common ones in one click:

  • Next slide when clicked
  • Jump to slide when clicked
  • Show layer when clicked (the slide needs a layer first)
  • Set variable when clicked (add a variable first)
  • Submit quiz when clicked

Build a trigger

Click + New trigger.

The New trigger dialog with Do this, When this happens and Only if sections
  1. Do this: pick an Action, such as Go to next slide, Go to previous slide, Jump to slide, Jump to scene, Lock navigation, Unlock navigation, Show layer or Hide layer. + Add another action chains more, and you can reorder or remove them.
  2. When this happens: pick the event, for example The user clicks an object, The user hovers over an object, Audio or video finishes playing or An object is dropped on another. Then pick the Object.
  3. Only if (optional): + Add a condition tests a variable. With no conditions, the trigger always runs.
  4. Tick Run only once each time the slide is visited if it should fire once per visit, give it a Name if you like, and click OK.

A sentence at the bottom of the dialog sums the trigger up, for example Go to the next slide, when the user clicks Shape 1.

Variables

Click Variables (in the Triggers pane, or ⋯ → Variables…), then + Add variable. A variable can be a Number, Text or True/false. Variables belong to the whole course, so a trigger on one slide can set a value and a condition on another slide can check it.

The Variables dialog with a type picker and Add variable