Skip to Content
Design advanced interactivityConditional Action Element

Conditional Action Element

How to Use the Conditional Action Tool to Trigger Actions Based on User Interactions

With the Conditional Action tool, you can store a mouse click or the answer to a question within the video. Later, you can trigger actions based on the data you have stored in memory.

Conditional Action Start

Step 1: Add a Question

Add a question to your video.

Add Question

Step 2: Set Variables for Answers

Click the “New York” button and add a new “On Click” action from the Properties panel.
Choose “Set Variable”, then:

  • Key: choice
  • Value: false

Set Variable Wrong Answer

💡 Note: When “Allow Multiple Execution” is checked, the variable can be changed multiple times. If unchecked, it only sets once.

Repeat this for the “Washington” option with:

  • Key: choice
  • Value: true

Set Variable Correct Answer

Now:

  • Selecting New York sets choice = false
  • Selecting Washington sets choice = true

Step 3: Add the Conditional Action Element

Drag the Conditional Action tool from the element list and drop it onto the layer.

Add Conditional Element

Step 4: Build the Query

Click Add Condition to define a query that checks the variable value.

Query Builder

In the panel:

  • Select variable: choice
  • Operator: equals
  • Value: true

Step 5: Add the Response Action

Add a feedback element like an Image or Text block that shows when the answer is correct.

Add Feedback Element

The viewer will see the feedback only if choice = true.

Congrats Message Preview

Step 6: Final Configuration

Click the Conditional Action element again to configure the behavior.

Re-select Conditional Element

Choose the action (e.g., Set Visible) and link it to the feedback element.

Select Target Element and Action

💡 Note: The Conditional Action tool checks its condition throughout its start–end time range. It doesn’t just trigger once.

You can also add another Conditional Action for when choice = false to display a different message or take another action.