Animation
Identifies an animation asset or a local KeyframeSequence.
- Creatable
Instance.new("Animation")- Inherits
- Instance
- Replication
- Standard
Behavior
Animation identifies an animation asset or a local KeyframeSequence.
Summary
Members4
Properties2
The asset identifier of the animation clip.
A local KeyframeSequence used as the animation source.
Methods2
Returns this instance if it is an ExecutionGroup.
Loads an Animation and returns an AnimationTrack.
Properties
AnimationId
Animation.AnimationId: Content = ""The asset identifier of the animation clip.
Clip
Animation.Clip: KeyframeSequence? = nilA local KeyframeSequence used as the animation source.
Methods
GetExecutionGroup
Animation:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
LoadAnimation
Animation:LoadAnimation(animation: Animation): AnimationTrackLoads an Animation and returns an AnimationTrack. Call the track's Play method to start playback.
Inherited members
Inherited47
Instance47
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying