Using a Simple Storyline Number Variable to Show Learners How Many Objects They've Found Posted Friday, January 04, 2013 at 8:32 AM

Add to Favorites

I love Storyline variables. Which might come as a surprise if you know me, because I am SO not a programmer! But that's the cool thing about Storyline—variables and other concepts that used to feel way above my head are now actually really easy and <gasp> fun if you use Storyline. Even cooler is the fact that variables can be great tools for making a course more interactive and responsive to your learners.


Check out the example below. It's a simple demo that was shared in a forum conversation with fellow community member Anne England. Anne wanted to create a seek-and-find interaction in which a visible counter shows learners how many correct objects they've found so far. Storyline variables to the rescue! By using a number variable and just a few simple triggers, you can easily create a tally to keep track of how many items the learner has clicked.



Want to learn more? Take a five-minute tour of how to build the interaction:



And if you'd like to take a look at the source project, you can download the .story file here.


How are you using Storyline variables in your projects? Head over to the Storyline forum and share your tips, tricks, and samples with the rest of the community! Or, if you have a project where you think variables might be useful but you're not sure how to incorporate them, post your questions in the Storyline forum and let the community help you out!



36 comments so far

Posted Friday, January 04, 2013 at 1:20 PM

Good job! I liked that interaction!

Teri Meyer

1 posts

Posted Thursday, January 10, 2013 at 7:24 AM

Really cool! Love the graphics!

Shwetha Bhaskar

41 posts

Posted Friday, January 11, 2013 at 9:04 AM

I LOVE variables! It was the biggest edge Captivate had over Articulate in the past but Storyline has changed that. I'm no programmer but I found that knowing basic programming concepts related to variables, 'if-then' statements, etc. helps open up all kinds of possibilities in Storyline. I would highly recommend playing around with 'Scratch' to get a hang of these

I actually just posted a sample using variables in response to a General Discussion post. I'll add it to the Storyline forum now as well...

James Torres

4 posts

Posted Wednesday, January 30, 2013 at 11:08 AM

Great interaction. Can think of a lot of applications.


Maya Speights

53 posts

Posted Friday, February 01, 2013 at 11:44 AM

That is a wonderful creation!

Thor Jormun

16 posts

Posted Wednesday, February 06, 2013 at 8:47 AM

Variables working inconsistently on iPad Safari (HTML5).

1. Inserted a numberic variable reference into a text field.

2. Used a trigger on Next and Previous nav buttons to increment & decrement value.

Results - works in Flash, displaying updated variable reference. On iPad - the variable is visibly updated, then it reverts back.

I'm experiencing other issues as well. - Is there a "best practices" guideline for optimizing published content for HTML5? This would be really helpful in deciding whether to invest in Articulate Storyline for publishing content to iPad.

Thank you.

Jeanette Brooks

3,630 posts

Posted Wednesday, February 06, 2013 at 8:51 AM

Hi Thor - Would you mind submitting a case to our support team on those issues? Regarding a best practices doc, there is a grid on this page which identifies how HTML5, Flash, and the Articulate Mobile Player handle features differently:

Janette Diaz

7 posts

Posted Friday, February 15, 2013 at 9:19 AM

How can I add a sound/song to the hole scene?

Jeanette Brooks

3,630 posts

Posted Friday, February 15, 2013 at 10:36 AM

Hi Janette - Are you asking about using continuous audio across multiple slides in Storyline? If so, that's not a feature that is currently available, but the Dev team welcomes feature requests:

Janette Diaz

7 posts

Posted Friday, February 15, 2013 at 11:49 AM

Thanks for your promptly response. :)

Yogesh Deva

17 posts

Posted Sunday, March 24, 2013 at 8:53 PM

I have created 3 tabs and I want to show the text "Click next " after clicking the 3 tabs.

Please Help me on this.

Saenna B Ahman

72 posts

Posted Monday, March 25, 2013 at 4:03 AM

Yogesh I would recommend posting in the Storyline Forum and attach your story file to your poste so that people can see what you are trying to do;  But in the meantime, I found this screencast and maybe it will help:

Posted Monday, April 01, 2013 at 10:44 AM

Hi Jeanette,

I'm unable to find a way to post a question directly to you anymore, and hope you'll understand that I'm asking an unrelated question here.  I've created a quiz, but need to delete two questions. How can I ensure that my total point system won't be thrown off when I delete the questions? Is there a trick or a helpful page in Quizmaker that will assist with this? The quiz has two questions that assess the same content, so that if the participant misses the first question they are required to take the second question.



Jeanette Brooks

3,630 posts

Posted Monday, April 01, 2013 at 5:46 PM


Quizmaker calculates pass/fail based on percent, so if you need to delete thise two questions you would probably want to also reevaluate your pass/fail cutoff. If you need some specific guidance though, the best thing to do would be to start a new thread in the Quizmaker forum, and describe in detail what you're having trouble with. It's also really helpful if you can attach your .quiz file to your post so the community has a clear idea of what you're working with.

Chandra Akers

1 posts

Posted Thursday, April 04, 2013 at 7:26 AM

I am very very new to Articulate....with that said, I am hoping you can help me!  I have created a quiz and my client wants the respondents who do not pass the quiz to have wait 24 hours before they can retake it.  So, if you fail the quiz you have to wait a day to retake it.  Is this possible to do??

Jeanette Brooks

3,630 posts

Posted Friday, April 05, 2013 at 2:32 AM

Hi Chandra, I don't know of a way that you could impose that kind of limit on the retake, but perhaps if you deploy your course via a learning management system, your LMS might offer a feature that could help you achieve what you have in mind.

Lisa Hughes

5 posts

Posted Friday, May 03, 2013 at 3:50 AM

I have been trying to add a box to the first screen where the user can type in their name when requested. I want the character on the next layer to respond with 'Hi" and the person's name. Does anyone have any ideas on how to get this to work?  Thanks! Lisa

Yogesh Deva

17 posts

Posted Friday, May 03, 2013 at 5:46 AM


I want to show the 1st screen which I desing after that the Storyline GUI will come when I click the start button.

If anyone can help me to solve this issues.


Jeanette Brooks

3,630 posts

Posted Saturday, May 04, 2013 at 12:21 PM

@Lisa: Here's a tutorial by Mike, which shows how to create a name variable. It's super easy! :)

@Yogesh: I'm not sure what you have in mind - can you start a new thread in the Storyline forum with a little more info about what you're wanting to do? Here's where you can create a new post:

Lisa Hughes

5 posts

Posted Monday, May 06, 2013 at 3:16 PM

Thanks Jeanette - it worked!  And it was easy.  Really appreciate it, thanks very much.  Lisa

David Buck

15 posts

Posted Tuesday, May 07, 2013 at 8:40 AM

Is there a way to document, export a document, of our triggers or variable combinations we create?

Jeanette Brooks

3,630 posts

Posted Friday, May 10, 2013 at 3:20 PM

Hi David - that's a great question, and currently I don't think there's any way to export or print the triggers/variables that you've used in a course. That would make a great feature request though!

Ellen Lones

4 posts

Posted Sunday, May 12, 2013 at 1:11 PM

Hi Jeanette,

I have some gamelike interactions built in storyline and want to import them individually into an already created PowerPoint presentation, but when I go to the Articulate tooolbar, there is no choice titled "Storyline" or .story in the toolbar. How can I load them into my Articulate presentation and edit them if needed as I do with other interactions in the presentation itself?  



jyothi sita

91 posts

Posted Friday, May 24, 2013 at 11:15 PM

Hi Jeanette,

I have a few questions in Articulate Storyline:

Is there any possibility to give animation (like when we click on menu button, a drop down list with the lesson names should appear ) for the course "Menu"?

Can we customize course interface as per our own design rather than changing only the colors for the default ones?

Will appreciate your response...!



Lisa Portzer

1 posts

Posted Saturday, May 25, 2013 at 9:06 AM

Fantastic! Thank you! I look forward to using this.

Posted Tuesday, May 28, 2013 at 3:06 AM

İstanbul bölgesinde kaliteli güvenilir hizmet veren firmamız evden eve nakliyat konusunda oldukça deneyimli bir firma olmakta merkezi maltepe evden eve nakliyat

olan baştürk siz değerli müşterlermize kaliteli nakliyat hizmeti sunuyoruz tüm türkiye hizmet veren firmamız evden eve konusunda en iyi firma olmakta

1968 yilindan beri evden eve nakliye sektöründe bulunan firmamız lojstik,depolama hizmeti sunuyoruz kaliteli güvenilir hizmetin adresi burda

Türkiye’nin en kalabalık ve en gelişmiş ili olan İstanbul ili için verdiğimiz İstanbul Nakliyat hizmeti firmamızın hedef çalışma kitlesini oluşturmaktadır. Bu sebeple çalışma sistemimizi en özenli bir şekilde geliştirerek İstanbul Nakliyat firmaları arasında görünen bir farkla geliştirmekteyiz. İstanbul şehiriçi taşıma yaptığımız gibi İstanbul şehirlerarası taşımacılık hizmeti de vermekteyiz.

choki mikola

2 posts

Posted Tuesday, June 25, 2013 at 10:30 PM

kerennn bgt fungsinya, saya setuju dengan anda like Storyline variables..

kunjungi juga website saya :

Thor Jormun

16 posts

Posted Monday, July 01, 2013 at 6:42 AM

How do I unsubscribe from this blog?

Anil kumar

8 posts

Posted Monday, July 22, 2013 at 2:38 AM

Can any one please share how to control tween through JS

Bart Collart

30 posts

Posted Wednesday, July 24, 2013 at 9:20 AM

I have used this tutorial to set up a variable on a slide where I would like the "Click NEXT to continue" layer to appear only after the learner has clicked  seven objects. I set up each object to have a Normal and Visited state. Pretty much followed the tutorial.

Trouble is when I give my variable count the number 7, my "click NEXT" layer never appears. If I give it a count value of 6, my "Click NEXT" layer appears on the first click.

I'm sure it is something simple. Would anyone mind taking a look?

Here is a link to the published file:

And here is a link to the Storyline file:

Thanks in advance!

Tyson Mielke

14 posts

Manpreet Verma

2 posts

Posted Monday, October 28, 2013 at 3:58 AM

Very good article.. helpful.

But i want user to score +1 when he will submit right answer, means "on submit" button

How i can achieve that ?

for example, i answered right to question 1, then in window of questn 2 it will be seen as "1" marks i scored and so on... on submitting the answer.

Anyone has any idea for this?


Anil kumar

8 posts

Posted Wednesday, January 08, 2014 at 4:45 AM


I have a question, any possibilities to transcript sync with audio through xml.