Interface: StateConfig
Defined in: src/interaction/StateMachine.ts:53
Options for a state.
Properties
onEnter?
optionalonEnter:StateAction
Defined in: src/interaction/StateMachine.ts:55
Run when the machine enters this state (the place to start an animation).
onExit?
optionalonExit:StateAction
Defined in: src/interaction/StateMachine.ts:57
Run when the machine leaves this state.