ModelData:getAnimationKeyframeCount
EditReturns the number of keyframes in a channel of an animation.
count = ModelData:getAnimationKeyframeCount(animation, channel)Arguments
| Name | Type | Description |
| animation | string | number | The name or index of an animation. |
| channel | number | The index of a channel in the animation. |
Returns
| Name | Type | Description |
| count | number | The number of keyframes in the channel. |