Copy link to clipboard
Copied
Trying to toggle between an objects' states when a user clicks on that object? I have successfully used Object State function to change the object to a different state, but I need it to return to its Normal state when it is clicked on again from the changed state, and then continue to toggle each state when clicked. This is for a flashcard interaction. I can do this using multiple objects and hide/show, but I'd like to do this with single objects and states.
Are you talking about custom states or InBuilt states. Which type of action did you use: a simple or an advanced/shared action? If you are simply toggling between two states, use the approach I described in this blog post:
1 action = 5 Toggle Buttons - Captivate blog
You'll probably need a user variable to track the state, but you can use the shared conditional action described in this blog post.
Copy link to clipboard
Copied
Are you talking about custom states or InBuilt states. Which type of action did you use: a simple or an advanced/shared action? If you are simply toggling between two states, use the approach I described in this blog post:
1 action = 5 Toggle Buttons - Captivate blog
You'll probably need a user variable to track the state, but you can use the shared conditional action described in this blog post.
Copy link to clipboard
Copied
Thank you for your quick reply! That solution seems to have worked. I am using custom states and advanced conditional action. Thanks again!
Copy link to clipboard
Copied
Why not try a shared action, you can reuse it everywhere?