Garry's Mod Wiki

Entity:GetAnimCount

  number Entity:GetAnimCount()

Just Added

This was just added in the latest version (2022.06.08). It might only be available on the Dev Branch right now.

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.