Garry's Mod Wiki

Entity:SetLayerPriority

  Entity:SetLayerPriority( number layerID, number priority )

Description

Sets the priority of given layer.

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number layerID
The Layer ID
2 number priority
The new priority of the layer.