ModelData:getAnimationName

Edit

Returns the name of an animation in the model.

name = ModelData:getAnimationName(index)

Arguments

NameTypeDescription
indexnumber The index of an animation.

Returns

NameTypeDescription
namestring | nil The name of the animation, or nil if the animation doesn't have a name.

See also