Garry's Mod Wiki




Advances the cycle of an animated entity.

Animations that loop will automatically reset the cycle so you don't have to - ones that do not will stop animating once you reach the end of their sequence.

Do not call this function multiple times a frame, as it can cause unexpected results, such as animations playing at increased rate, etc.

NextBot:BodyMoveXY calls this internally, so do not call this function before or after NextBot:BodyMoveXY.