Prototypes Triggers: After Delay (Time Interactions)
Master Advanced Figma Prototyping with Interactive Animations
Core Interaction Types You'll Master
Drag Interactions
Learn to create intuitive swipe-to-reveal functionality that responds to user gestures with smart animations and threshold-based snapping behavior.
Time Interactions
Implement automatic behaviors using after delay triggers to create seamless user experiences without additional user input required.
Keystroke Controls
Add keyboard shortcuts and gamepad controls to provide power users with efficient interaction methods and undo functionality.
This drag-to-delete functionality cannot be built entirely into a component, so we'll prototype it on a single message to demonstrate the interaction pattern for clients and developers.
Frame Setup Process
Group Elements
Select the red trash can and Erin Steed message row, then group them together for coordinated movement during the drag interaction.
Hide Delete Bar
Position the red trash can graphic at X: 390 (frame width) to hide it completely outside the visible frame area initially.
Create End State
Duplicate the Messages frame to create a Delete frame, then move the message row to X: -390 to reveal the full red delete bar.
Drag Interaction Setup
Access prototyping tools in the right panel
Creates the interaction connection between states
Enables gesture-based interaction instead of click
Provides smooth transitions between frame states
Time interactions enable automatic actions without user input. Use After delay triggers to create self-executing animations that enhance user experience.
Creating the Auto-Delete Animation
Create Final State
Duplicate Delete frame to Done frame, set delete row height to 0 and opacity to 0% for complete removal.
Adjust Layout
Move remaining messages up to fill the gap left by the deleted message, maintaining proper spacing.
Configure Timing
Set After delay trigger to 1ms (minimum allowed) for near-instantaneous execution with Smart animate.
Key Takeaways

Home tab (Mac users can also choose File > Open File Browser).
and choose Back to files.
Import file (located near the top right of your interface).
at the top-right, or use the keyboard shortcut Cmd–Option–Return (Mac) or CTRL–ALT–Enter (Windows).