Demo: constrain a Segment to 15° intervals

[code]C = DynamicCoordinates(B, x(ClosestPoint(VPoints, B)), y(ClosestPoint(VPoints, B)))[br][/code][br](credit to [url=https://help.geogebra.org/topic/snap-b-to-set-of-points]mathmagic[/url])[br][br]A's On Update script[br][code]SetCoords(B,x(A)+x(vCopy),y(A)+y(vCopy))[br][/code][br]v's On Update Script[br][code]SetValue(vCopy,v)[/code]

Information: Demo: constrain a Segment to 15° intervals