> For the complete documentation index, see [llms.txt](https://thekeymachine.gitbook.io/base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thekeymachine.gitbook.io/base/the-customgraph/animation-tools/snap.md).

# Snap

This tool is designed for when we have keys that are off-frame, which usually happens when we have scaled curves or blocks of animation.

The problem with Maya's snap tool is that it tends to position the out-of-place keyframes on the nearest frame, but sometimes there may already be a keyframe on that frame, resulting in double keyframes on the same frame.

<figure><img src="https://2910220287-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3mcRbjsoTi3iaKu9sTnU%2Fuploads%2F3AWDoDToXB9s7VmatXsM%2Fexplorer_YFY1ceILN5.gif?alt=media&amp;token=c1b41ebd-d524-4cb6-97a1-3ff01e11ec4f" alt=""><figcaption><p>Maya fails to apply the snap and reports an error, whereas TKM applies the snap without any issues.</p></figcaption></figure>

The Snap tool from TheKeyMachine doesn't just reposition the keyframes, it creates them on the nearest frame and removes all the keyframes that are off a frame. This way, the existing animation remains intact, and issues with duplicate keyframes on the same frame are avoided.
