Two 'single-click' triggers for one Hotspot

Feb 12, 2016

Hi there!

I'm trying to create an interactive slide where the user can sort columns of a table by clicking the headers (like you would in Excel). However, I cannot seem to get two single click triggers to work on one hotspot. I have set it up so that the image of the table changes state when the hotspot is clicked with a condition that the image is not already in that state.

Anyone know how I can make the two triggers work on the one hotspot? Or is there another way of doing this?

Cheers,

Bec

8 Replies
Walt Hamilton

For this concept to work, you need two items.

Here's why: If you have a trigger that changes a state to "State1" if the state is State2", the whether the item states in State1 or State2, after this trigger it will be in State2.  But you need another trigger to change it to State1. So that trigger looks like Change to "State1" if state is "State2". So no matter what state it starts in, it will end up in State1. If you change the trigger order, it always ends in State2.

For this to work, you need another object or variable that is independent. It must change to either condition depending, not on itself, but the condition of an external object.

In the attached file, I have set column A to sort using a variable. Using a T/F variable is my preferred method, because you can just toggle it and don't have to do conditional checks. Column B sorts depending on the state of another object.

 

This discussion is closed. You can start a new discussion or contact Articulate Support.