Storyline How-To

Building reusable interactions with Storyline slide masters

December 4, 2026 · 7 min read · StoryLearn Studio

Most Storyline projects start tidy. Then the course grows to forty slides, someone asks for the hint button to move to the other side of the screen, and you spend an afternoon fixing the same button, the same triggers and the same feedback text on every slide.

Slide masters stop that from happening. Most teams use them for logos and background colours, but they can do much more: they can hold the buttons, triggers and logic for an interaction you’ll repeat throughout a course. Build it once on a layout, apply the layout to as many slides as you need, and every change you make later happens in one place.

Masters and layouts in two minutes

In Storyline 360, open View > Slide Master to see the master view. You’ll find:

  • A slide master, at the top of the list. Anything on it appears on every layout beneath it.
  • Layouts, underneath. Each layout inherits from the master and adds its own objects. Slides use one layout at a time.
  • A feedback master, a separate view used for quiz feedback layers.

Three features make layouts useful for interactions, not just decoration:

  1. Objects. Buttons, shapes, text and images on a layout appear on every slide using it. Learners can click them; developers can’t accidentally move them on the slide.
  2. Triggers. Layouts can carry their own triggers. A trigger on a layout runs on every slide that uses that layout.
  3. Placeholders. You can insert text and picture placeholders, so each slide fills in its own content in a predictable position.

Add one more ingredient, variables, and you have everything you need. Storyline variables belong to the whole project, so a layout and a slide can both read and change the same variable. That shared variable is the bridge between the reusable part of an interaction and the part that changes from slide to slide.

The core pattern: frame on the layout, content on the slide

A reusable interaction splits neatly into two halves:

  • The frame is what’s the same everywhere: the buttons, their states, the position of the prompt, and the logic that controls them. This lives on the layout.
  • The content is what’s different on each slide: the question, the hint text, the correct answer, the image. This lives on the slide, ideally in a placeholder.

The layout and the slide communicate through variables. The layout’s triggers change a variable when a learner clicks something. The slide’s triggers watch that variable and respond.

The reason for this split is practical. Layout triggers can only work directly with objects that live on that layout. They can’t reach into a particular slide and change one of its text boxes. Variables get around that cleanly, and they make the logic easier to follow because every step is named.

Worked example: a reusable “practice with hint” frame

Say Sarah, an instructional designer, is building a course on a new expense system. Each section ends with a short practice question, and every question needs the same structure: a prompt, a Show hint button, a Check my answer button, and feedback. She expects around fifteen of these.

Step 1: Create the variables

In the Variables window, Sarah creates:

  • ShowHint (True/False, default False)
  • CheckRequested (True/False, default False)

Step 2: Build the frame on a layout

In Slide Master view she inserts a new layout and names it Practice – with hint. On it she adds:

  • A title placeholder at the top for the question prompt.
  • A content placeholder for the activity area.
  • A Show hint button and a Check my answer button, styled once with normal, hover and disabled states.
  • A text placeholder in a consistent position for the hint.

Then she adds layout triggers:

  • Set ShowHint to False when the timeline starts.
  • Set CheckRequested to False when the timeline starts.
  • Adjust ShowHint (toggle) when the user clicks Show hint.
  • Set CheckRequested to True when the user clicks Check my answer.

Because these triggers live on the layout, every practice slide resets correctly and both buttons behave the same way, without Sarah adding a single trigger to the slides themselves.

Step 3: Add the slide-specific response

On each practice slide, Sarah writes the hint into the placeholder, sets its initial state to Hidden, and adds slide triggers that respond to the shared variables:

  • Change the state of the hint text to Normal when ShowHint changes, if ShowHint is True.
  • Change it back to Hidden when ShowHint changes, if ShowHint is False.
  • Submit the interaction (or show the right feedback layer) when CheckRequested changes, if CheckRequested is True.

These slide triggers are short and nearly identical across slides. Once she has one working slide, she duplicates it and changes only the content.

Step 4: Change once, update everywhere

Two weeks later, the stakeholder review comes back. David, the project sponsor, wants the buttons bigger and the hint moved below the activity. Sarah makes both changes on the layout. All fifteen practice slides update.

That is the real payoff. Consistency matters to learners too: when every practice activity works the same way, people spend their attention on the task rather than working out the screen. Cognitive load research calls that unnecessary effort “extraneous load”, and consistent interaction patterns are one of the simplest ways to reduce it.

Other interactions that suit layouts

The same frame-and-content pattern works well for:

  • Scenario decision screens. A layout with a character area, a situation placeholder and three choice buttons. Each button sets a Choice variable; the slide decides what each choice means. This keeps branching scenarios like our scenario assessment demo consistent across dozens of decision points.
  • Software simulation steps. A layout with a consistent instruction panel and a “Show me” button for Show, Try, Test style practice. Our software simulation demo uses the same idea of a predictable frame around changing screens. There’s more on that approach in Show, Try, Test: software simulations people actually learn from.
  • Progress indicators. A layout that displays “Decision %DecisionNumber% of 5”, where each slide sets DecisionNumber when its timeline starts.

Using JavaScript on layouts

If your interaction uses JavaScript, a layout is a sensible home for it. An Execute JavaScript trigger on a layout runs on every slide using that layout, so shared functions are defined in one place instead of being copied into fifteen triggers.

// On the layout: runs when each practice slide's timeline starts
var attempts = getVar("PracticeAttempts");
setVar("PracticeAttempts", attempts + 1);

The getVar and setVar helpers work in recent versions of Storyline 360. In older versions, use GetPlayer() with player.GetVar and player.SetVar instead. For more patterns, see 5 JavaScript techniques every Storyline 360 developer should know.

As always, if the JavaScript calls a web service, keep any keys on a server you control (a proxy), never in the course itself.

Habits that keep masters maintainable

Masters save time only if the next person can understand them. A few habits help:

  • Name layouts by purpose. “Practice – with hint” tells a developer what it does. “Layout 7” doesn’t.
  • Name variables clearly and consistently. ShowHint and CheckRequested say what they do. Write them down in a short project note.
  • Keep layout triggers simple. Layouts should set and reset variables. Let slides decide what those variables mean.
  • Reset on every slide. Always reset shared variables when the timeline starts, or a hint that was open on one slide may appear open on the next.
  • Know when to hide the background. If one slide needs a different look, you can hide the layout’s background graphics for that slide rather than creating another layout. Check that you aren’t also hiding buttons the interaction depends on.
  • Test in published output. Preview is useful, but check the interaction in Review 360 or your LMS before sign-off, especially if JavaScript is involved.

Where masters fit in your process

If you work in an iterative model such as SAM, layouts fit naturally into the early prototype. Build one working slide with its layout, review it with stakeholders, adjust the layout, and only then produce the rest. Changes found in review cost minutes instead of hours.

If you build several courses for the same audience, save a well-built project as a Storyline template so the next course starts with tested layouts, variables and naming already in place.

Where to start

You don’t need to rebuild an existing course. On your next project:

  1. Find the interaction you’ll repeat most. Practice questions, decision points or simulation steps are usual candidates.
  2. Split it into frame and content. List what’s the same on every slide and what changes.
  3. Build the frame on a named layout, with layout triggers that only set and reset variables.
  4. Build one complete slide that responds to those variables, test it in published output, then duplicate it.
  5. Make your first round of changes on the layout, and see how much time it saves.

Once you’ve built one interaction this way, you’ll start to see every repeated screen in a course as a layout waiting to happen.

Want us to build it for you?

Our studio designs and builds custom eLearning end to end, from instructional design to tested SCORM.

Get a quote