Garry's Mod Wiki

Revision Difference

Entity:GetLayerPlaybackRate#524768

<function name="GetLayerPlaybackRate" parent="Entity" type="classfunc">⤶ <description>⤶ Returns the layer playback rate. See also <page>Entity:GetLayerDuration</page>.⤶ ⤶ <note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note>⤶ <note>Next update</note>⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="layerID" type="number">The Layer ID</arg>⤶ </args>⤶ <rets>⤶ <ret name="rate" type="number">The current playback rate.</ret>⤶ </rets>⤶ </function>⤶ ⤶