Forum Discussion

SusanNabonne304's avatar
SusanNabonne304
Community Member
2 years ago

Toggle Trigger Not Working

Hi all. I have a simple "Toggle on Click" trigger set up to move an object along a motion path. No matter what I try, the trigger will not toggle the variable. I have tried changing the order of triggers...nothing is working. Please see the attached file and screen print below of object and triggers.

Thanks a million in advance!

  • I have tried a number of options to see if I can isolate the problem, and I have concluded that there is something wrong with the relationship between the toggle trigger and the Table.

    In the attached project, you can see some of what I tried.

    I definitely think it is a bug and should be reported to Support. While you are waiting, I included an invisible (filled, 98% transparency) shape to make it work.

  • Hi Susan,

    I'm happy to help! I made changes to the triggers, as shown below. One of the important changes is to use 'When the animation completes' instead of 'When user clicks' in the Toggle trigger.


    You can check out the revised file attached. Let me know if that works for you!

    • SusanNabonne304's avatar
      SusanNabonne304
      Community Member

      This worked! Thanks so much! I think it has to do with the motion path. However, as Walt mentions below, I will report it just in case it is a programming bug. In theory, it should at least toggle the trigger on click.

      Thanks again!

  • I see Eric posted another workaround while I was composing my answer. It is worth noting that clicking on a table will not toggle a variable, either in the absence or presence of an animation. Definitely a bug.