I want to have a selector that moves around the bar at an angle of 30 degrees, I did some research on the Internet, but I did not find any solution !.
I know that:
$( ".selector" ).draggable({ axis: 'x' });
will move it along the x axis and:
$( ".selector" ).draggable({ axis: 'y' });
will move it along the y axis, but the question is, how to move it only at an angle of 30 degrees?

I want this menu to work.

javascript jquery jquery-ui-draggable
Madian malfi
source share