Limit Drag Rotation

Hi all,

I am attempting to make a round dial that stops at 180 degrees. I found this example using a workaround to set a limit in the drag/rotate pair, where the knob stops after the full rotation of 360 degrees. It is quite advanced though and I am having a hard time wrapping my head around it.

How could I alter this example to only allow for a 180-degree rotation, so the knob stops at exactly the halfway point?

Thanks in advance.

Dial button.pie