Garry's Mod Wiki

Revision Difference

Entity:GetLayerCycle#527735

<function name="GetLayerCycle" parent="Entity" type="classfunc"> <description> Returns the animation cycle/frame for given layer. <note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note> <note>This function only works on <page>BaseAnimatingOverlay</page> entities.</note> </description> <realm>Shared</realm> <args> <arg name="layerID" type="number">The Layer ID</arg> </args> <rets> <ret name="" type="number">The animation cycle/frame for given layer.</ret> </rets> </function>