Collapse Sidebar


Returns an array of all AnimationTrack|AnimationTracks that are currently being played by the AnimationController.

A typical use for this function is stopping currently playing tracks using AnimationTrack/Stop.

Note this function will not return AnimationTrack|AnimationTracks that have loaded but are not playing. If the developer wishes to track these they will need to index them manually. See below for one example of how this could be achieved:

local animationTracks = {}
local track = animationController:LoadTrack(animation)
table.insert(animationTracks, track)


Return Type Summary

An array of playing AnimationTracks.

Code Samples

Stop All Tracks

This sample contains a quick function to stop all playing AnimationTracks on an AnimationController or Humanoid.