Animation Options
Enable animation grid
The animation grid represents a collection of lines at a configurable step size for each axis (Grid X Frequency and Grid Y Frequency) that is rendered in the background of the CurveEditor of the AnimationTimeline panel. The grid is enabled by checking the checkbox "Enable animation grid" from the section Environment - Animations, in the "Preferences" dialog.


The "Snap when shifting animation keyframes" checkbox allows the setting of the snap shifting animation keyframes to increment of 5.

Enables animation snapping to grid
The "Animation snap to grid" option enables the keyframes to become aligned to the grid when being translated in the Curve Editor of AnimationTimeline panel. To enable this feature check the checkbox "Enable animation snap to grid" from the section "Environment - Animation" of Preferences dialog and configure the desired sensitivity (the range is the distance to guideline where the keyframes stick to the grid).