Figma Support Forum

Reverse after delay animation

Hey all,

This seems like such a basic thing, but I can’t work out for the life of me how. I want to display a toast notification that appears and then disappears after X amount of seconds.

I have an “after delay” “show overlay” interactions that triggers when I navigate to a new screen. This works fine. I then want to “hide overlay” after another delay, but there is no way to add another “after delay” on the same screen and no way to reverse the first animation. The only way I’ve managed to get the overlay to disappear is to “close when clicking outside frame”, but that’s not how the end user would interact.

Any ideas?

Cheers!