Forum Discussion

EileenBarnes-84's avatar
EileenBarnes-84
Community Member
8 years ago

States switch automatically without trigger

On a slide 2.9 the four rectangles that trigger layers should switch to the "Clicked" state after the user clicks on the rectangle. However, immediately after clicking, the state switches back to normal. When I hover just after clicking, however, the rectangles the visited state remains, but the objects appear slightly above their selected position. 

Any help is appreciated! 

9 Replies

  • Hi Eileen

    if you are using the built in states some of them have 'super powers' in that SL knows what to do when you hover, click on (selected or visited) click off (normal) so using triggers with these states can cause issues -you may need some custom states to do what you want.

    I've checked your file slide 2.9

    On one of them there is no clicked state - it's been left as visited which as an inbuilt state does  not need a trigger (it will change to visited when the user clicks it)

    So for the first button I removed both the hover trigger and visited trigger and I think it's working as expected...see this Peek video

    If that's the case, I would format paint this button to the other buttons which will create the same visited state, then delete your custom 'clicked' state and remove any triggers that say change state to hover or change state to visited - these are automatically happening for you.

    Your updated file for the first button is attached - hope this helps

  • Thanks for explaining about the "Super" states that automatically create triggers. That makes a lot of sense, and everything works perfectly now.

  • LoekVossen's avatar
    LoekVossen
    Community Member

    Hi Wendy, is it possible to create these "super states" that don't need a trigger? And the other way around: is there a way to undo "super states" besides removing all the states one by one :)?

  • Hi Loek!

    Since this discussion is a bit dated, Wendy may no longer be subscribed. You can reach out to Wendy directly by using the "Contact Me" button in their profile.

  • Loek,

    You can't create your own "super state"; that functionality is hard-wired into SL. When you name a new state, you can use the dropdown menu to see which ones they are. They are the ones with names pre-populated into the dropdown.

    My method to undo them is to never use buttons, for precisely that reason; they come with so much pre-installed baggage. I create a shape  (or more frequently, a text box) that looks like I want it to, then add any built-in states I want to use.

  • Hi,

    I really need some help.

    I have a multiple choice slide, and when I click the choice for A, it automatically changes the A button to red and holds that state. (There isn't even a trigger for that button to do that. It's so odd.)

    However, when I copy and paste those same triggers for choice B, and I click on B, it doesn't change the button to red.

    I have no idea why this is happening. Ideally, I would like the B button to also change to red and hold that state after it is clicked. Even though I set up a trigger for it to do that, it doesn't work.

    Can someone please help?

  • Hi, Ron.

    Thank you for opening a support ticket! I see you're working with Darwin, so you're in great hands! 

    Please reach out through the case if you have additional questions.