Garry's Mod Wiki

Entity:IsPlayingGesture

  boolean Entity:IsPlayingGesture( number activity )

Description

Returns whether there's a gesture with the given activity being played.

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number activity
The activity to test. See ACT enum.

Returns

1 boolean
Whether there's a gesture is given activity being played.