title: How to animate a simultaneous change in angle and rotation for a sector in manim
body: <p>Is it possible to animate a rotation and a size change on the same Sector at the same time?</p>
  <p>I know it can be cheated with <code>Transform</code> to turn it into a different Sector. But that doesn't have the animation I want. <code>Transform</code> shrinks and then expands. I want the Sector to rotate while changing size.</p>
  <p>I can get the two effects I want but not at the same time.</p>
  <p>I've tried but failed to find an API for <code>manim</code>. I've seen the <a href="https://manim.readthedocs.io/en/latest/" rel="nofollow noreferrer">readthedocs</a> but that isn't an API showing all the methods and variables for each Class.</p>
  <pre class="lang-py prettyprint-override"><code>class Test(Scene):
      def construct(self):
          rotateGroup=VGroup(*[SmallDot()],
                             Sector(angle=45*DEGREES,
                                    start_angle=25*DEGREES,
                                    stroke_width=0,
                                    fill_color=RED),
                             Sector(angle=135*DEGREES,
                                    start_angle=185*DEGREES,
                                    stroke_width=0,
                                    fill_color=GREEN))\
                                    .shift(RIGHT,DOWN)
          # Start
          self.add(rotateGroup[1])
          self.wait()
          self.play(FadeOut(rotateGroup[1]),
                    # Ideal finishing position
                    FadeIn(rotateGroup[2]))
          self.wait()
          self.remove(rotateGroup[2])
          copy1=rotateGroup[1].copy()
          copy2=rotateGroup[2].copy()
          copy3=rotateGroup[1].copy()
          self.add(copy1)
          self.wait()
  
          # This has the desired rotation but lacks the size change
          self.play(Rotating(copy1,
                             axis=OUT,
                             run_time=2,
                             about_point=rotateGroup[0].get_center(),
                             radians=170*DEGREES,
                             rate_func=smooth))
          self.wait()
          self.remove(copy1)
  
          # This has the size change but lacks the correct rotation
          self.add(copy3)
          self.play(Transform(copy3,copy2))
  </code></pre>
  <p>Thanks in advance.</p>