Revision Difference
Entity:SetLayerDuration#514728
<function name="SetLayerDuration" parent="Entity" type="classfunc">⤶
<description>⤶
Sets the duration of given layer. This internally overrides the <page>Entity:SetLayerPlaybackRate</page>.⤶
⤶
<note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note>⤶
</description>⤶
<realm>Server</realm>⤶
<args>⤶
<arg name="layerID" type="number">The Layer ID</arg>⤶
<arg name="duration" type="number">The new duration of the layer in seconds.</arg>⤶
</args>⤶
</function>⤶
⤶