Open Asterune
KeyframeSequence

KeyframeSequence

Stores the keyframes, looping option, and priority of an animation clip.

Creatable
Instance.new("KeyframeSequence")
Inherits
Instance
Replication
Standard

Behavior

KeyframeSequence stores the keyframes, looping option, and priority of an animation clip.

Summary

Members6
Properties2
Methods4

Properties

Loop

KeyframeSequence.Loop: boolean = true

Whether the animation sequence repeats.

Priority

The relative priority used to order or process this object.

Methods

AddKeyframe

KeyframeSequence:AddKeyframe(keyframe: Keyframe): ()

Parents a Keyframe to this sequence.

GetExecutionGroup

KeyframeSequence:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

GetKeyframes

KeyframeSequence:GetKeyframes(): table

Returns the Keyframes contained in this sequence.

RemoveKeyframe

KeyframeSequence:RemoveKeyframe(keyframe: Keyframe): ()

Removes a Keyframe from this sequence.

Inherited members

Inherited47

Instance