title: Get width and height of LibGdx animation
body: <p>How can I get the width and height of a single frame when using LibGdx Animation?</p>
  
  <pre><code>tallAnim = new Animation(1/10f, atlas.findRegion("runner1"), atlas.findRegion("runner2"), atlas.findRegion("runner3"), atlas.findRegion("runner4"));
  shortAnim = new Animation(1/10f, atlas.findRegion("short_runner1"), atlas.findRegion("short_runner2"), atlas.findRegion("short_runner3"), atlas.findRegion("short_runner4"));
  animation = tallAnim;
  </code></pre>
  
  <p>I switch between these two animations and when I check for collision I need to know if the exact width/height of the current animation frame. </p>
  
  <p>How I'd normally handle this:</p>
  
  <pre><code>public Rectangle getBounds(){
  return new Rectangle(positionX, positionY, sprite.getWidth(), sprite.getHeight());
  }
  </code></pre>