Garry's Mod Wiki

Entity:GetLayerCycle

  number Entity:GetLayerCycle( number layerID )

Description

Returns the animation cycle/frame for given layer.

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID

Returns

1 number
The animation cycle/frame for given layer.