How can I achieve that the points on a Graphics element could be manipulated both by Locators (clicking and moving) and on the Manipulate panel as well.
As you can see, only one of the methods work. In this example only pt1
appears on the Manipulate panel.
So any ideas?
Here's my code:
Manipulate[
Graphics[{Polygon[{pt1, pt2, pt3}]}, PlotRangeClipping -> False,
Frame -> True, PlotRange -> {{0, 10}, {0, 10}}],
{{pt1, {0, 0}}}, {{pt2, {0, 1}}, Locator}, {{pt3, {1, 1}}, Locator}]