Garry's Mod Wiki

Entity:GetLayerDuration

  number Entity:GetLayerDuration( number layerID )

Description

Returns the duration of given layer.

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID

Returns

1 number
The duration of the layer