Revision Difference
Entity:SetPlaybackRate#514511
<function name="SetPlaybackRate" parent="Entity" type="classfunc">⤶
<description>Allows you to set how fast an entity's animation will play, with 1.0 being the default speed.</description>⤶
<realm>Shared</realm>⤶
<args>⤶
<arg name="fSpeed" type="number">How fast the animation will play.</arg>⤶
</args>⤶
</function>⤶
⤶
<example>⤶
<description>Makes Entity(1)'s viewmodel play animations 50% slower.</description>⤶
<code>Entity(1):GetViewModel():SetPlaybackRate(0.5)</code>⤶
<output>Entity(1)'s viewmodel now plays animations 50% slower.</output>⤶
⤶
</example>