Garry's Mod Wiki

Entity:GetAnimCount

  number Entity:GetAnimCount()

Description

Returns the amount of animations (not to be confused with sequences) the entity's model has. A sequence can consist of multiple animations.

See also Entity:GetAnimInfo

Returns

1 number
The amount of animations the entity's model has.