Playing state machines
State machines are instantiated by providing a state machine name to the Rive object when instantiated.State change event callback
We can set a callback to determine when the state machine changes state.
onStateChange
provides an event
parameter that gives us the string name(s) of the current state(s):