Use the grid as a visual guide for positioning or resizing layers. If snapping is enabled, layers automatically snap to the closest grid point when they are moved or resized. Snapping works regardless of whether or not the grid is visible. See Snapping layers to the grid.