The action defines the next step or event in the prototype. It is the response from the interaction trigger event. For example, the action could be to Navigate to another frame, or open an external URL.
This action takes you from one frame in a prototype to another. This is the most common type of action to use when moving between entire screens.
This allows you to navigate back to the previous screen. This is perfect for simulating the Back button in your Prototypes.
The Set variable action allows you to set or modify the value of a variable as a result of a prototype trigger.
Learn more about using variables with prototypes →
Check if a condition is met before performing an action by using an if/else conditional statement.
Learn more about using conditionals →
This action allows your prototype or a nested scrollable container scroll to any object within the top-level frame. This is useful to replicate anchor links and interactions with scrollable elements like carousels.
If you add Scroll to using the Interactions section of the Prototyping panel, you can only pick direct children of scrollable frames. To pick any object within the top-level frame, drag out a noodle and link it to the object you want to set as the destination.
With Scroll to, you can set the scroll animation to be Instant or set an ease using the Animate option.
Note: To drag a connection to a destination hidden by a clipped frame, uncheck Clip content from the frame section of the Design panel to expose the destination frame first.
This allows you to direct the user to a URL outside of the prototype. This is great for external links, or additional resources that aren't available in the main navigation.
Enter your URL in the field provided, once you select this option.
Tip! When you click on an Open link hotspot, the link opens in a new tab. If this is a link to an external website, the user will be notified they are leaving Figma. You can use the checkbox provided to skip this jump page in the future. This setting will only be saved on the current device.
This action opens the Destination frame above the current frame. This can be used to display a modal, tooltip, or alert—from a button or other object in the design.
This action allows you to close or dismiss any overlays that have appeared over the original frame. You can use this to replicate an on-screen prompt or alert being accepted or dismissed.
This action allows you to replace one frame with another. This will behave similarly to the Navigate to option, when triggered from a hotspot in a regular frame.
If you apply Swap overlay to a hotspot in an overlay, it will swap the current overlay with the new Destination frame. The new overlay will retain the same overlay settings as the original.
Note: Using Swap overlay won't add that frame to the prototype's history. If you’d like a user to be able to use the Back action to move between overlays, we recommend using the Navigate to option instead.
The Play/pause video action is available for any interaction that ends on a video. When selected, the following actions are available:
- Play video - Begin video playback
- Pause video - Pause video playback
- Toggle play/pause - Toggle between playing and pausing video playback
The Mute/unmute video action is available for any interaction that ends on a video. When selected, the following actions are available:
- Mute video - Turn off video sound
- Unmute video - Turn on video sound
- Toggle mute/unmute - Toggle between turning on/off video sound
Set to specific time
The Set to specific time action is available for any interaction that ends on a video. This action jumps to specific timestamp in the video. You can set the timestamp after selecting the Set to specific time action.
Note: If you enter in a timestamp that is past the total length of the video, the action will jump to the end of the video. If the video loop setting is turned on, the video will begin playing again from the beginning.
Jump forward/backward in time
The Jump forward/backward in time action is available for any interaction that ends on a video. When selected, the following actions are available:
- Jump forward - Set a number of seconds to fast forward in video playback.
- Jump backward - Set a number of seconds to rewind in video playback.
This action can be helpful when designing an interactive video player experience.
Note: If you jump forward past the total length of the video, the action will jump to the end of the video. If the video loop setting is turned on, the video will begin playing again from the beginning.