Forum Discussion

StevenBlea's avatar
StevenBlea
Community Member
10 months ago
Solved

Locking interactivity in a custom state

In the simulator that I'm working on, there is a way for users to go back through the slides they interacted with to see the breakdown of their results. I've been using the disable state to make sure...
  • JudyNollet's avatar
    10 months ago

    Note: Covering a button with a transparent shape does prevent someone from clicking the button with a mouse. However, it doesn't prevent someone from accessing the button with their keyboard. 

    One option to "disable" everything on the base is to show a layer during review that has its Slide Layer Properties set to "Prevent the user from clicking on the other layers." "Other layers" include the base.

    BTW, Storyline doesn't have a way to disable the Hover state based on the current state of the button. Hover is automatically on for all states except Disabled. 

    You could program a hover-like effect by showing a layer on mouse-over with a condition that the button is in the state you want.

    • Bonus tip: don't use "= Normal" in a condition. All the built-in states are based on Normal, so that condition doesn't always work as expected. Instead, the condition should indicate what state the button isn't in, e.g., "≠ Selected."