Motion in a grid