Here's a simplified example of how you would update properties / values in your states. As you hit the square in the middle notice the rotation changing with each switch to that state.
2 Comments
Koen Bok
#protip you can also use functions as state properties. So define the width of a state as half the height at that moment: http://share.framerjs.com/cazo7d7q66m0/
Jordan Robert Dobson
Here's another, even simpler, approach for rotation based on Koen Bok's example: http://jrdn.io/byHv
2 Comments