Open Asterune
Animator

Animator

Loads animation tracks and animation graphs for a character or model.

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

Behavior

Animator loads animation tracks and animation graphs for a character or model.

Summary

Members6
Methods5
Events1

Methods

GetExecutionGroup

Animator:GetExecutionGroup(): ExecutionGroup?

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

GetPlayingAnimationTracks

Animator:GetPlayingAnimationTracks(): table

Returns the animation tracks currently playing on this animator.

GetPlayingGraphs

Animator:GetPlayingGraphs(): { AnimationGraphPlayer }

Returns the animation graph players currently playing on this animator.

LoadAnimation

Animator:LoadAnimation(animation: Animation): AnimationTrack

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

LoadGraph

Animator:LoadGraph(graph: AnimationGraph): AnimationGraphPlayer

Loads an AnimationGraph and returns an AnimationGraphPlayer.

Events

AnimationPlayed

Animator.AnimationPlayed: RBXScriptSignal

Fires when an animation track starts playing.

Inherited members

Inherited47

Instance