Forum Discussion

DanielLeMay's avatar
DanielLeMay
Community Member
9 days ago
Solved

Problem with States on Custom Buttons

I am trying to create a tabbed interaction. I am struggling with the states of my four tabs. Tab 1 is behaving differently than tabs 2, 3 and 4. In all tabs normal and hover work as expected. For tab...
  • JudyNollet's avatar
    9 days ago

    Button glitches happen. Sometimes, as Nedim​ pointed out, creating new ones fixes the glitch.

    I don't think variables are needed for tracking in this situation, though. When an object has a Selected state and a Visited state, a trigger will recognize it as Visited even though it will show as Selected when first clicked. (Yup. They made the program smart enough to know that an object that's been selected has also been visited. 🤣)

    • If the object isn't in a button set, it will toggle between Visited and Selected on subsequent clicks. 
    • If the object is in a button set, it will change to Visited when another object in the button set is Selected

     

    Here's more info about built-in states: PRIMER: Take advantage of built-in states | E-Learning Heroes