Toggling between Information

Jul 12, 2022

I'm working on a project where we'd like to be able to have the learners click the icon and have it "slide" across to reveal new text. After moving, we'd like to have the ability for the learners to click it again and it go back to how it was. I want the learners to be able to toggle back and forth to see comparisons and differences in the pieces of information.

I've gotten a start on this, but I'm struggling with them being able to "revisit" the original statements.

1 Reply
Walt Hamilton

Edit the state of Icon 1, paste/create the first text box to the right of the icon, and the second one to the left.

This makes the icon and the text boxes all one object, which means it can be controlled with one motion path, one trigger, one state, etc.

Duplicate Normal state and name it Selected.

This allows the system to know whether the object has been clicked. First click changes it to Selected state, and the next changes it back. If they are duplicates, there is no visible change.

Duplicate the motion path, right click it, and change its direction.

Note that I renamed both paths to make it easy for me to know which one to use.

Create the two triggers necessary to move the icon.