Create and return an Animation as a child of this group

Signature:

AnimationGroup:CreateAnimation("animationType" [, "name" [, "inheritsFrom"]])

Arguments:

  • animationType - The type of the animation to create (string)
  • name - A global name to use for the new animation (string)
  • inheritsFrom - A template from which to inherit (string)