-
How to wiggle only in multiples of a set number
Say I have a grid, with a shape layer ‘filling’ one of the grid squares (exact same size as one square).
I would like to wiggle along the Y-axis that only adjusts position in chunks equal to the size of the grid squares.
So if my wiggle was 3 times/sec, each of those position adjustments would happen in multiples of the size of the grid squares, such that the shape layer would always fit snugly in each empty square.
How would I go about writing this?