Entity:RemoveLayer
Description
Removes the given layer by ID. See also Entity:RemoveGesture.
This function only works on BaseAnimatingOverlay entites!
Layer removal procedures aren't immediate. Layer removal functions actually manipulate Entity:GetLayerWeight down to 0, then remove the layer in next intervals. If the targeted layer's weight keeps changing, your layer will not be removed.
Garry's Mod
Rust
Steamworks
Wiki Help