-
Slider Position snapping with Checkbox control
Hey Gurus,
I’ve got a couple of tasks I’d like to create an expression to for. I have a null object that my text layer is attached to. To control the null’s position I have a slider for both x and y positions. All this works, however, I’d like to limit the slider’s range so that the X and Y values can not be moved past a certain point.
I’ve used the clamp expression for my first attempt and could only get the one of the range values to work. clamp(value,1348.5086,586.7971); for example.
What I’d like to do is use checkbox controls that automatically snap the position null to 4 different coordinates on screen. Does anyone have any suggestions or expressions to research that could pull this off?
Thanks,
Andy