I want it to snap to 22 positions instead of just smooth movement. I there any way to actually do this?
var Snap = Math.round(A/22)*22;
Snap > MaxY? MaxY :
Snap < MinY? MinY : Snap
A = Y position (of the mouse because I’m assuming it’s being dragged)
Something like that in an expression
Or actually that’s wrong, what you want is to see the Range,
maxY-minY = Range
Range/22
That just splits it into 22 segments. Then from there you can see how far it should move/snap to