Animation locking, sometimes shortened to animlocking, is the basis of duck exploiting dances. Animation locking freezes the mouse's animation, and is done by jumping and tapping down. The mouse's animation will freeze in mid-duck and will not display the breathing animation until the animation is unlocked by moving and starting the running animation. Dances such as ducksliding and moonwalking rely on animation locking to freeze up the running animation.
Transformice moves the ducking animation frames forward as long as the duck key (see: Controls) is held, and frames back when it is not held. When the jumping animation is playing, however, the animation glitches and automatically moves to halfway along the duck animation when the down key is pressed. Then every successive jump causes you to move some frames along the ducking animation rather than go into the jumping animation. It is unknown what causes this glitch.