Entity/GetLayerWeight

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Documented)
 
 
Line 2: Line 2:
 
|Description=Returns the current weight of the layer. See {{ClassFunction|Entity|SetLayerWeight}} for more information.
 
|Description=Returns the current weight of the layer. See {{ClassFunction|Entity|SetLayerWeight}} for more information.
  
'''NOTE!''' This function only works on [[BaseAnimatingOverlay]] entites!
+
{{Note|This function only works on [[BaseAnimatingOverlay]] entites!}}
 
|Realm=Server
 
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 07:44, 28 April 2016

 Entity:GetLayerWeight( )

Description

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

NOTE

This function only works on BaseAnimatingOverlay entites!

Arguments

number layerID

The Layer ID

Returns

number

The current weight of the layer
Personal tools
Navigation