Revision Difference
Entity:RemoveGesture#565166
<function name="RemoveGesture" parent="Entity" type="classfunc">
<description>
Removes and stops the gesture with given activity.
<note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note>
<note>Layer removal procedures aren't immediate. Layer removal functions actually manipulate <page>Entity:GetLayerWeight</page> down to 0, then remove the layer in next intervals. If the targeted layer's weight keeps changing, your layer will not be removed.</note>⤶
</description>
<realm>Server</realm>
<args>
<arg name="activity" type="number">The activity remove. See <page>Enums/ACT</page>.</arg>
</args>
</function>