Skip to main content
Inspiring
August 12, 2021
Question

Can I create an instant trigger that only works if another instant is activated?

  • August 12, 2021
  • 1 reply
  • 165 views

So I want to create an interactive video with buttons in which each button would be linked to an animation. 

 

Say I have:

Start button.

Stop button.

Advance button.

Retract button.

 

The advance and retract motion buttons won't work unless you have the start button activated, and everything would reset back to original position if the stop buttom is pushed.

 

Is there any information on how to create conditions for certain instances to work and not work? 

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 12, 2021

you add listeners when you want a button to work (or use its mouseEnabled property) and you remove listeners when you want it to no longer work (or use its mouseEnabled property).