Forum Discussion

DarrenNash's avatar
DarrenNash
Community Member
5 years ago

Storyline 360 Built in Variables

I asked this before but cannot find anything.

Is there anywhere that gives a good description and examples of each of the Built- in Variables?

It is surprising they are not listed somewhere.

9 Replies

  • Hi does anyone know where I can find instruction on how to use the built in variables? I am trying to see if I can set a variable to count how many screens are in a particular scene. 

  • SteveGannon's avatar
    SteveGannon
    Community Member

    Hi Julie,

    The link in my earlier post above provides a description of the built-in variables; I'm not aware of a more expansive document with examples of each although someone might have created such a document.

    The variable you're looking for is Scene.TotalSlides. You can't adjust this variable...it is "read-only"...but you can assign a custom variable you create to the value of Scene.TotalSlides.

    • JulieTaylor-3a8's avatar
      JulieTaylor-3a8
      Community Member

      Hi Steve, 
      Thank you for your response. Sorry if I seem silly but what I am trying to understand is how to set it and use it.
      For example, the builtin variable: Scene.TotalSlides would I apply it to the initial slide of the scene in the project or on a specific slide in the slide master? Do I need to set a trigger to activate it and if so what would this look like? Also, where would I see the final count result/answer? 

  • SteveGannon's avatar
    SteveGannon
    Community Member

    You can’t set Scene.TotalSlides. Storyline counts up the slides in the current scene and stores it in this variable automatically.

    To display the value, place the following on any slide you want the value to appear:

    %Scene.TotalSlides% 

    I’m away from my computer but will prepare a sample file when I get a chance.

  • Hi Steve,
    Thanks Steve appreciate your explanation I think I understand but I look forward to viewing your demo when you get the chance to build it. 
    cheers Julie

  • Here's a demo

    Create a textbox. (or click inside an existing one), or shape, Click Insert, Reference, and choose the variable whose value you want to see. The built-in variables all have names that are pretty self-explanatory, if you want to use a different one.

    You can't change them, you can use them only as a reference to see their value, or in an "if" condition of a trigger.