How do I trigger visibility of info card when variable changes.

Tracy408
Tracy408 Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 2 ☆ Roadie ☆
How do I trigger an info card (feedback) to become visible (initially hidden) when a variable changes. I have tried adding this action to the scene itself on show and on close but that doesn't seem to be working.

Best Answer

  • carlfink
    carlfink Community Member Posts: 1,099 ✭ Legend ✭
    Answer ✓
    When exactly do you want the visibility to change?

    There's no "variable changed" event in CVR, so you'd have to run an action somehow. For instance, if the variable changes when a Hotspot is clicked, you could add a second action to check the variable status and, when appropriate, change the visibility.

Answers

  • Tracy408
    Tracy408 Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 2 ☆ Roadie ☆
    Thank you Carl, I just needed to think about it a bit differently and you helped me do just that! Thanks for the speedy response.
  • carlfink
    carlfink Community Member Posts: 1,099 ✭ Legend ✭
    It's all Paul Allen's fault.

    Well, sort of.