- Enable clicked event for moving the closest endpoint of the curve.