Module snap

Module snap 

Source
Expand description

Snapping utilities (eg. snap to a grid).

Functionsยง

snap_to_grid
Snaps pos to the nearest multiple of grid.