Hello. I'm trying to have a button switch from one state, back to the default state with only 1 click. Using "layer.states.next()" allows me to do this, but i have to click to go back to default state. Any thoughts? Thanks!
What kind of effect are you after?
click button > button changes to opacity 0 > wait .4s > button changes back to opacity 1
yeah, thats pretty much it. thanks!
hmm...it's throwing an error, "button.onStateDidSwitch is not a function"
The current version of Framer does not yet have the onStateDidSwitch event method. If you choose Update Framer from the File menu you can download it for you open document.