How can I set a dynamic global via a Locator
- To: mathgroup at smc.vnet.net
- Subject: [mg118646] How can I set a dynamic global via a Locator
- From: "Christopher O. Young" <cy56 at comcast.net>
- Date: Thu, 5 May 2011 05:26:20 -0400 (EDT)
This works, outputting the value set by the draggable locator point. But I have to initialize s as a point first. I'm not sure why. s = {0, 0} Dynamic[s] Graphics[ Locator[Dynamic[s]] ]