Garry's Mod Wiki

Entity:SetLayerSequence

  Entity:SetLayerSequence( number layerID, number seq )

Description

Sets the sequence of given layer.

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID.
2 number seq
The sequenceID to set. See Entity:LookupSequence.