Creates an Animation as a child of this group

Signature:

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

Arguments:

  • animationType - Type of Animation object to be created (see widgets hierarchy for available subtypes) (string)
  • name - Global name to use for the new animation (string)
  • inheritsFrom - A template from which to inherit (string)

Returns:

  • animation - The newly created animation (animation)