Having trouble with a trigger in a course
Feb 15, 2022
Hi all. i'm building a course with a lot of text & i'm trying to make a portion of it more interesting by making it into an accordion-style interaction, so there's a column of buttons for a number of items & when the user clicks one, all the ones below it move downward then a rectangle shape with appropriate text animates in below. i haven't set all the triggers yet b/c I'm getting stuck on the second button down, first trigger.
What's supposed to happen, from a trigger perspective, is a user clicks on a button, then the first thing it does is move the other buttons when necessary. they should always be in the same order, so the top one doesn't ever move, & the next button down will only move up if the previously accessed button was the top one (which would have pushed the second one down), & so on. after all the Motion Paths are complete, a new layer is open to change a variable, which 1) is used to guide the behaviour of button movements & 2) changes the state of the description text box associated with a given button.
However, the second button's first trigger is supposed to move that button upward only if the first button was already selected, but it's moving upwards indiscriminately. i haven't set most of my triggers yet b/c i need to figure out why this one is misfiring & fix it before moving any further. i would really appreciate if anyone were able to have a peak at this & see if there's anything obviously wrong with it. i may have to rethink the design, though, this is already really complicated...
in any case, if anyone feels like sleuthing, i have attached a portion of the slide below. normally i'd ask co-workers to help me puzzle this sort of thing out, but some ill-timed vacations have made this difficult.