Is there a way to fade out an overlay?

When prototyping using overlays, is it possible to have a fade-out animation on the overlay?
I am using open/close overlay to show a quick inline message next to a button when the user clicks the button, but it needs to fade out after a few seconds.

Is this roughly what you want to achieve?

Just add an “After delay” trigger interaction to your overlay.

Thanks you. I think that forces you to use the same animation for animate in and animate out.