Forum Discussion
Locking interactivity in a custom state
- 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."
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."
- StevenBlea10 months agoCommunity Member
Thanks for this! You gave me something to work on, hopefully I can make it work.
Related Content
- 4 months ago
- 4 months ago