nextState

public Optional<AnimationStateType> nextState()