smooth states

I have been stumped on this problem for quite a while and finally figured out a solution. This component smoothly transitions between state values. Click and drag up to transition to a state.

Please post if you know of any better solutions or explanations of this type of state machine problem. It was like a chicken-egg issue with chops that I’m still trying to wrap my mind around :confused:
smooth_states.tox (2.58 KB)

Very useful. Thank you!