Forum Discussion

RebeccaMeachin's avatar
RebeccaMeachin
Community Member
2 years ago

Trying to go back to a previous page, and then change a disabled button to normal - but not working.

Hi everyone. I have a long project that I want to have a button that goes back to a previous scene as a recap. I've set it so when you click on the button to go back to this page, it changes a variable. 

On the destination slide, a button should change to a 'normal' from 'disabled' so that then they can go back to where they were, rather than having to use the menu. So for example going from slide 3.2 back to slide 1.2 and then back to 3.2 when you press this button. However it's not working. I've simplified it in the attachment. Any advice of what on earth I'm doing wrong!? Thank you in advance.

  • SandeepGadam's avatar
    SandeepGadam
    Community Member

    Hello Rebecca, I made a few changes to the triggers and its working as expected. Initially on the first slide, I modified the trigger to change the state of the button to normal when timeline starts if the variable is true and on the second slide I changed the order of trigger. 

    Always remember that triggers are executed in the order in which they appear on the timeline. This means that if you have multiple triggers applied to a slide or an object, they will be executed one after the other in the specified order. So in your case on the second slide, the first trigger is to jump back to the previous slide when user clicks on the button, thus ignoring the set variable value to true.

    Please review the updated version of the file attached and let me know if further assistance is required.

  • That is perfect thank you so much. Getting used to these variables and orders a little more now :)