natiny.animator.pause

Lua
natiny.animator.pause(animator)

Stops the clock without moving the clip, so the model holds the pose it is in.

Parameters

Name Type Description
animator number Animator handle from natiny.animator.create

Example

Lua
natiny.animator.pause(hero_legs)

Notes

  • Unlike natiny.animator.stop, the time is kept. Calling natiny.animator.play restarts the clip; call natiny.animator.seek afterward to restore the saved time.