Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Figma Design – Figma Learn
  • Create prototypes
  • Advanced prototyping

Multiple actions and conditionals

Written by Figma Man

Updated at June 19th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Administration – Figma Learn
    Manage files and projects Manage a team Manage your account Manage a Figma organization Manage Enterprise plan settings and permissions Billing Manage Figma in a school
  • Figma Design – Figma Learn
    Create prototypes Import and export Create designs Tour the interface Dev Mode Work together in files Build design systems Figma Draw
  • Get started – Figma Learn
    Set up your account Layers 101
  • FigJam – Figma Learn
    Import and export Run meetings Work on boards Tour the interface
  • Community – Figma Learn
    Explore the Community Creator tools and resources
  • Help – Figma Learn
    Troubleshoot Common questions Work with support
  • Work across Figma – Figma Learn
    Figma AI Work across Figma
  • Courses, tutorials, projects – Figma Learn
    Courses Projects
  • Figma Slides – Figma Learn
    Create and edit slides Present slide decks Tour the interface Import and export
  • Figma Buzz – Figma Learn
    Templates in Figma Buzz Create and edit assets in Figma Buzz Overview
  • Figma Make – Figma Learn
    Tour the interface Work with Figma Make
  • Figma Sites – Figma Learn
    Design a site Create webpages and breakpoints Make your site interactive Preview and publish a site Tour the interface
+ More

Table of Contents

Multiple actions Reorder actions Animation order Conditionals Evaluate conditional statements

Before you start

Who can use this feature

Available on any paid plan.

Anyone with can edit access to a file can create prototypes.

Anyone with can view or can view prototypes only access to a file can view prototypes.

As your prototypes increase in depth and complexity, you can use multiple actions and conditionals to handle multiple or different outcomes within the same interaction.

  • Multiple actions: Stack an unlimited number of actions on the same trigger
  • Conditionals: Check if a condition is met before performing an action by using an if/else conditional statement

New to variables? Learn more here:

  • Guide to variables →
  • Use variables in prototypes →

Want to get more hands-on practice?

Check out the advanced prototyping playground file →

Looking for more examples of how you can use variables in prototypes? Check out some more advanced prototyping examples →

Note: This video explains prototyping using Figma's old interface. For examples of the new interface, see the images in this article.

Multiple actions

Every prototype interaction has a trigger and one or more actions. A trigger is what causes the interaction to begin, and an action is the response.

Multiple actions allow you to add an unlimited number of actions on one trigger.

  1. Create a prototype interaction.
  2. To add an additional action, click Add action.
  3. From the Interaction panel, select any action from the Action dropdown menu.

ui3-interaction-panel.png

Tip: Collapse or expand details of each action by clicking the chevron to the left of the action name.

Reorder actions

Actions run in the order in which they’re listed, from top to bottom.

To reorder actions:

  1. Open an Interactions panel.
  2. Click to the left of the action and drag to change its order.

ReorderPrototypeInteractions.gif

Tip: You can drag and drop any action into a Conditional action.

Changing the order of actions can change the outcome of a prototype.

For example, two sample prototype actions are listed below. For this example, the starting value of numberVar is 1.

1. Set numberVar to 2
2. Conditional: if numberVar == 2, Navigate to Frame 2

In the first action, the number variable is set to a value of 2. This means the conditional statement (if numberVar == 2) is evaluated to be true, so the action (Navigate to Frame 2) executes.

Now, switch the order of the actions:

1. Conditional: if numberVar == 2, Navigate to Frame 2
2. Set numberVar to 2

In the first action, the conditional statement (if numberVar == 2) is evaluated to be false, so the action does not execute, and the prototype stays on the current frame. Then, the value of numberVar is changed to 2.

Animation order

Prototype animations can be used to create smooth transitions between pages and define the behavior for actions like Navigate to, Scroll to, Open overlay, and more.

If you have multiple animations on a trigger, they run sequentially.

ui3-multiple-prototype-actions.png

MultipleActionPrototype.gif

Conditionals

In prototyping, a conditional is a rule that defines if an action should trigger. Conditionals are written with if/else logic.

For example, consider building a checkout flow. If the cart total is higher than a certain amount, the user receives free shipping. If not, or else, the user sees the full shipping price.

In Figma, you can use the Conditional prototype action to build prototypes with conditional logic.

  1. Create a prototype interaction.
  2. From the Interaction panel, select any trigger from the dropdown menu.
  3. From the Actions dropdown menu, select Conditional.
  4. Complete the If condition:
    1. In the If field, write a boolean expression to represent the condition that must be met.
    2. Select an action (or multiple actions) from the dropdown menu. These actions will be triggered if the If statement is met.
  5. Complete the Else condition:
    1. Select an action (or multiple actions) from the dropdown menu. These actions will be triggered if the If statement is not met. Alternatively, leave the Else action blank.

ui3-conditional-prototyping.png

Only conditionals written with supported operations and format will work. Invalid conditional statements will be outlined in red.

Evaluate conditional statements

Conditional statements are identical to boolean expressions—the statement is evaluated to have a true or false value. If the value of the statement is true, the if action is triggered. If the value of the statement is false, the else action is triggered.

Learn more about how to format and evaluate boolean expressions →

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Use variables in prototypes
  • Use expressions in prototypes
  • Variable modes in prototypes
  • Advanced prototyping examples
  • Smart animate layers between frames
  • Blog
  • Best practices
  • QR code generator
  • Color wheel
  • Colors
  • Color picker
  • Color palettes
  • Color palette generator
  • Color contrast checker
  • Font Library
  • Templates
  • Developers
  • Integrations
  • Affiliate program
  • Resource library
  • Reports and insights
  • Support
  • Status
  • Legal and privacy
  • Modern slavery statement
  • Climate disclosure statement
  • COMPARE
  • Sketch
  • Adobe XD
  • Framer
  • Miro
  • COMPANY
  • Events
  • Customers
  • Careers
  • Newsroom
Expand