Forum Discussion

ScientificTrain's avatar
ScientificTrain
Community Member
2 years ago

Object state change tied to state change of another object

Hi folks, I'm trying to create an interaction in which the state of one object changes to hidden when the state of at least one other object in a button set is in a selected state. I have a simple test slide in which it works no problem; however, in my more complex interaction, it's not working correctly. Any thoughts?

File is attached.

Thank you!

  • SandeepGadam's avatar
    SandeepGadam
    Community Member

    Hello there, I've made few minor changes in regards to your triggers and I was able to view the feedback layers without any flaws.

    Initially, there is no use of adding the trigger for the cover shape to be normal when timeline starts, since by default it is in normal state only. So I got rid of that trigger.

    Next to change the state of cover to hidden I added this trigger to the individual shapes and that worked fine.

    Next, to show the feedback layer when state of 1.2, 2.2, 3.2, & 4.2 are hidden, you don't need to use when the timeline starts. When user click on any of the shape, the cover state changes to hidden.

    Please review the revised file and let me know if that helps you!

  • Thank you for your help, Sandeep! The trigger to change the state of the cover box to normal at the start of timeline is so that the user is blocked between every turn from selecting a white box without first selecting a blue box.

    Your solution to change the state of the cover box when a blue box is clicked works well, although I'm still curious why the test slide works with the state change but not the main slide. Oh well, as long as it functions!

    Thanks again!