ModelData:getAnimationName

Edit

Returns the name of an animation.

name = ModelData:getAnimationName(index)

Arguments

NameTypeDescription
indexnumber The index of the animation.

Returns

NameTypeDescription
namestring The name of the animation.

Notes

If the animation does not have a name, this function returns nil.

See also