Garry's Mod Wiki


Entity:RestartGesture( number activity, boolean addIfMissing = true, boolean autokill = true )


Restarts the entity's animation gesture. If the given gesture is already playing, it will reset it and play it from the beginning.

This function only works on BaseAnimatingOverlay entites.


1 number activity
The activity number to send to the entity. See Enums/ACT and Entity:GetSequenceActivity
2 boolean addIfMissing = true
Add/start the gesture to if it has not been yet started.
3 boolean autokill = true

Page Links

Special Pages



Render Time: 51ms

Session 0
DB GetPage 10
Generate Html 12
SaveChanges 14
Render Body 0
Render Sidebar 12