Garry's Mod Wiki

Entity:GetLayerWeight

  number Entity:GetLayerWeight( number layerID )

Description

Returns the current weight of the layer. See Entity:SetLayerWeight for more information.

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID

Returns

1 number
The current weight of the layer