Use the Snap Keys options when you want selected keys to snap in time to the nearest whole time unit values or attribute values.
Depending on your keyframe editing style, you can also enable or disable the Snap Values to Adjacent Keys preference (Window > Settings/Preferences > Preferences). On by default, this preference sets neighboring keys with similar values to always snap to identical values as you edit keys. (See also Animation (Settings) preferences.)
To snap keys
The Current Time Indicator moves to the clicked position and the key is now selected.
The range of keys is now selected and highlighted in red.
If Time Range-All is on in the Snap Keys options, all keys for the current object are scaled. If Time Range-Start/End is on in the Snap Keys options, only keys between the specified Start and End times are scaled. If Time Range-Time Slider is on in the Snap Keys options, only the keys between the Range Slider’s Start and End times are scaled.
If multiple keys can be snapped to the same value, those keys are skipped. A warning message indicates the number of skipped keys.
If you want to identify the keys on a curve that are not at whole time units, you can perform a search for all unsnapped keys.
To find unsnapped keys
To set Snap Keys options
The Snap Keys Options window appears.
The Snap Keys Options window closes.
The Snap Keys Options window remains open.
These settings affect the Snap button on the Graph Editor, but not the Time Slider Edit Keys > Snap menu item (which snaps the time values of selected keys only).