Defines how a transition to next state is triggered.
"layers-finished"
Next state is triggered when all specified layers finish playing.
"duration"
Next state is triggered after a set time.