Garry's Mod Wiki

Entity:GetLayerSequence

  number Entity:GetLayerSequence( number layerID )

Description

Returns the sequence id of given layer.

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID.

Returns

1 number
The sequenceID of the layer.