JavaScript: Container with draggable. Constrain draggable to a circle shape, in container.
- by ritsuke
Hey guys,
I'm looking for a simple solution to place a draggable element inside of a box container. When the user begins to interact with the draggable, the draggable element should remain constrained to a circular shape, within the container.
At a complete loss as to how I should accomplish this.
Thank you! :-)
Additional:
Box container…