Open Asterune
Animation

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
Methods2

Properties

AnimationId

Animation.AnimationId: Content = ""

The asset identifier of the animation clip.

Clip

Animation.Clip: KeyframeSequence? = nil

A 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): AnimationTrack

Loads an Animation and returns an AnimationTrack. Call the track's Play method to start playback.

Inherited members

Inherited47

Instance