snapping with expressions?
by sorbet on Oct 24, 2006 at 11:29:13 pm
This should be easy. I'm trying to figure out a way (through expressions) that I can snap to different px increments. For example, if you keyframed a square to move from left to right, it would snap to 100px increments.
I realize you can snap to guides or the grid, but I'd like to have it snap constantly, even when you animate something.
Just change xSnap and ySnap to whatever increments you want to snap to. However, note that sometimes if you have an object animated near the edge of the comp it might snap to a value out of the comp window. Have fun.