LayerStates.switch returns the animation object