I'm using the sticky notes interaction, and wondered if I could edit the Player trigger for "Next" such that the learner can only move ahead if all sticky notes have been clicked and read?
By adding some extra off-screen objects and using states and triggers, you will be able to dictate that the user can only proceed once they have viewed all of the sticky notes as per the attached file - I have also added a new layer which advises the user that they must view all items before they proceed if they click on next before they have completed the exercise.
There may be a more elegant way to achieve what you are trying to but I hope this helps
Antony's suggestion is great! I just wanted to mention that you could probably do this with some variables as well, depending on how comfortable you are with them.
For example, I would probably use a number variable. Lets say you have 5 sticky notes. Have each sticky +Add 1 when they're clicked. Add a condition to the "Next" button that will advance the learner if that variable equals 5.
I personally prefer states, simply because you can get a little more visual, but a variable may be a little faster if you don't want to work with all the state changes, or work with off-screen objects.
I considered using a variable for each layer/sticky note but felt that using states and triggers provided greater control and an easier option for development.
Also, I would have used a true/false variable instead of a number variable as the number variable would increment by 1 each time the user clicked on the same sticky note i.e. 5 clicks of the red note would result in the variable value = 5 and therefore allow the user to click on the next button without having to click on the others?
Just a thought and please feel free to correct me!!
No need for corrections, they're just ideas :D I agree, the T/F may be easier, too - and like I said, I totally prefer states :D Just a matter of "ease" for Shanti and how much time she wants to spend setting it up.
Goodness! That was such fast response! Thank you, Antony and Christine. I tried the off screen shapes and that worked wonderfully. I've never tried variables, but perhaps I can view a tutorial on that before I try it.
One quick question Antony - I looked at the settings for your triggers on the right, and noticed how you had set up the off screen shape to change from hidden to normal when the appropriate colored box was clicked. I didn't know how to add a Change of State to an existing trigger. (For now, I copied your change of state trigger and added it to my red note and that worked, but I'd like to know how you did that.)
You're welcome Shanti - glad to hear that you managed to resolve your own query
As you can see from the posts above, both Christine and I seem to prefer the states approach but you could also use variables here too. If you are unsure about variables, there are some good tutorials here.
7 Replies
Hi Shanti,
By adding some extra off-screen objects and using states and triggers, you will be able to dictate that the user can only proceed once they have viewed all of the sticky notes as per the attached file - I have also added a new layer which advises the user that they must view all items before they proceed if they click on next before they have completed the exercise.
There may be a more elegant way to achieve what you are trying to but I hope this helps
Antony
Hi Shanti and Antony!
Antony's suggestion is great! I just wanted to mention that you could probably do this with some variables as well, depending on how comfortable you are with them.
For example, I would probably use a number variable. Lets say you have 5 sticky notes. Have each sticky +Add 1 when they're clicked. Add a condition to the "Next" button that will advance the learner if that variable equals 5.
I personally prefer states, simply because you can get a little more visual, but a variable may be a little faster if you don't want to work with all the state changes, or work with off-screen objects.
Just a thought! :)
Good luck with the project!
Hi Christine,
I hope you are well
I considered using a variable for each layer/sticky note but felt that using states and triggers provided greater control and an easier option for development.
Also, I would have used a true/false variable instead of a number variable as the number variable would increment by 1 each time the user clicked on the same sticky note i.e. 5 clicks of the red note would result in the variable value = 5 and therefore allow the user to click on the next button without having to click on the others?
Just a thought and please feel free to correct me!!
Antony
Hi Antony!
I'm doing very well, thanks! Hope you are too :)
No need for corrections, they're just ideas :D I agree, the T/F may be easier, too - and like I said, I totally prefer states :D Just a matter of "ease" for Shanti and how much time she wants to spend setting it up.
Hope you're having a wonderful day!
Christine
Goodness! That was such fast response! Thank you, Antony and Christine. I tried the off screen shapes and that worked wonderfully. I've never tried variables, but perhaps I can view a tutorial on that before I try it.
One quick question Antony - I looked at the settings for your triggers on the right, and noticed how you had set up the off screen shape to change from hidden to normal when the appropriate colored box was clicked. I didn't know how to add a Change of State to an existing trigger. (For now, I copied your change of state trigger and added it to my red note and that worked, but I'd like to know how you did that.)
Figured out how to add the additional trigger. Thanks to both of you for the quick help!
You're welcome Shanti - glad to hear that you managed to resolve your own query
As you can see from the posts above, both Christine and I seem to prefer the states approach but you could also use variables here too. If you are unsure about variables, there are some good tutorials here.
Antony
This discussion is closed. You can start a new discussion or contact Articulate Support.