code: function ToggleAnimation (AppState) {
    var state = AppState.get()
    if (
      state.currentAnimation[0] === animationDictionary.bend[0] &&
      state.currentAnimation[1] === animationDictionary.bend[1]
    ) {
      state.currentAnimation = animationDictionary.jump
    } else {
      state.currentAnimation = animationDictionary.bend
    }
  
    AppState.set(state)
  }
docs: We have two animations This switches from one animation to the other