Forum Discussion

SaraObernesser-'s avatar
SaraObernesser-
Community Member
3 years ago

Using one hot spot to go to different slides.

I am creating a game which has 4 categories, with 3 questions in each. I am trying to have users click one category using a hotspot. If they haven't clicked it before, they move to Question 1 of that category. If they have clicked it before, they move to Question 2 of that category, then Question 3. Can you have one hot spot programmed to go to different slides based on a condition? Once all the questions are clicked, can we show the results in each category? 

  • Connecting triggers with object states might work, without having to introduce variables

  • If you use states, be careful how you write your conditions. When an object is clicked, it changes its state first, then goes to other triggers.

    If you use states, you can't use hotspots, because they can't have states, but not using hotspots is no great loss. Use filled, completely transparent shapes instead.

    Personally, using variables is more reliable than using states, and takes fewer triggers. With states, you need eight triggers for each object, with a numeric variable, five.

    See the attached sample.

    • SaraObernesser-'s avatar
      SaraObernesser-
      Community Member

      This is great- it is exactly what I'm looking for! Thank you for the example of doing variables.