Use named states, like in a real case.
It should be possible to describe ClutterState transitions using ClutterScript in a similar way as ClutterAnimator.