API AnimationGroup CreateAnimation

Creates a new within the. animation = AnimationGroup:CreateAnimation( "animationType" [, "name" [, "inheritsFrom"] ] )

Arguments

 * animationType : String - Type of the animation to create, one of:, , , , , and
 * name : String - Desired global name that will be assigned as, or nil to avoid creating a global reference
 * inheritsFrom : String - Comma-separated list of names of XML animation templates to inherit from

Returns

 * animation : Widget - Local reference to the created animation object