Skip to main content
Eva29961793rfqt
Participant
March 24, 2026
Answered

XD Prototype: Multiple actions on one trigger

  • March 24, 2026
  • 1 reply
  • 15 views

Dear community,

I would like to ask if there is a way to add multiple actions to a single trigger in Prototype mode in XD. For example, on one Tap, I need to change the component’s state and at the same time transition to another screen.

Thank you for your help!

Correct answer Spas K.

Hey there! Not really. There’s a hacky workaround you can use, which I’ve described in my reply here. That use case is for an infinite loop, but can be used for your case as well.

Basically, you can only have one transition happening on a Tap trigger, along with some sound playback. What you can use is some sort of different trigger on State 2 of the component to then transition to a different artboard. 

The trick I mentioned makes use of the fact that animated lottie files and video playback can be triggered via a Time trigger after a delay once the state has changed. They also give you an “End of playback” trigger which has all actions available to it. So we use an empty 1 frame lottie file as a switch to immediately initiate a different action.

  1. Tap trigger changes state to State 2
  2. On State 2, our empty lottie file via Time trigger with 0s delay plays for 1 frame
  3. We add an “End of playback” trigger with a Transition action to the second screen.

I’m not sure what your situation is exactly, perhaps it can be done in a different way which is more straightforward. Feel free to add a screenshot or send a PM if you don’t want to share it publicly.

 

1 reply

Spas K.
Community Expert
Spas K.Community ExpertCorrect answer
Community Expert
March 24, 2026

Hey there! Not really. There’s a hacky workaround you can use, which I’ve described in my reply here. That use case is for an infinite loop, but can be used for your case as well.

Basically, you can only have one transition happening on a Tap trigger, along with some sound playback. What you can use is some sort of different trigger on State 2 of the component to then transition to a different artboard. 

The trick I mentioned makes use of the fact that animated lottie files and video playback can be triggered via a Time trigger after a delay once the state has changed. They also give you an “End of playback” trigger which has all actions available to it. So we use an empty 1 frame lottie file as a switch to immediately initiate a different action.

  1. Tap trigger changes state to State 2
  2. On State 2, our empty lottie file via Time trigger with 0s delay plays for 1 frame
  3. We add an “End of playback” trigger with a Transition action to the second screen.

I’m not sure what your situation is exactly, perhaps it can be done in a different way which is more straightforward. Feel free to add a screenshot or send a PM if you don’t want to share it publicly.

 

Eva29961793rfqt
Participant
March 25, 2026

Thank you very much for your workaround!