2 actions in prototype

I have a question about prototype. Currently I want to link 2 actions inside one button. First one will trigger downloading the file by opening the link, the second one is navigate the user to further screen. Is it achiveable in Figma?

I’m also adding attachment how it’s curenntly handled.

@Bartek7 Hiya! At this time, there isn’t an action to trigger downloading, so by default, this is not achievable in Figma.

1 Like

Ok, but is it possible to trigger opening the link and navigate to another screen at the same time?

I believe so – you should be able to use the “on click” interaction to both:

“navigate to” – move to whatever frame you select
“open link” – set the URL you want to go to

Just note with the “open link” action in case it may affect your design – it’s going to notify the user that they’re going to an external site anytime they tap/click it.

This page may help too: https://help.figma.com/hc/en-us/articles/360040035874-Prototype-actions#Open_link

Let me know if I misunderstood.