Forum Discussion

ValorieEngholm's avatar
ValorieEngholm
Community Member
5 years ago

Hint button

I watched a video where you set a trigger to restart the drag and drop after they hit Try Again. When I do that, it overrides my Hint trigger. Can anyone tell me how to fix it?  Thank you so much!

2 Replies

  • Hello, FSMTB.

    Thank you for sharing your .story file! I'm looking forward to the suggestions you will receive from our talented community members! In the meantime, I wanted to offer my suggestion:

    • Create a True/False variable (we'll call it tryAgain) with a default value False.
    • On your Try Again layer, add a trigger to adjust the variable tryAgain to True when the timeline starts.

    Windows 10 (1) 2021-07-29 at 3.39.08 PM

    • On your base layer, add a trigger to change the state of Hint to Normal when the timeline starts if tryAgain is True. 

    Windows 10 (1) 2021-07-29 at 3.40.18 PM

    I am attaching the edited file with my suggestions.

    Let me know if this works!

  • Thank you! It works perfectly. I'm so excited - this helped me complete my first course.