Le 26/09/2015 17:24, Offray Vladimir Luna Cárdenas a écrit :
I tried to, but didn't find how to start with a drawn object a put a particular behavior onto this *specific* object. Scripting, in my finding, was related with any selected kind of object (two points, a line, etc) and made them behave accordingly to the script, so it was not to a particular selected object which can take or send messages to others in the same canvas (like in Geogebra, Etoys or Scratch).
A script in DrGeo is a first class citizen (i.e. a Smalltalk class) you can use several time on different objects. Therefore, the script instance can hold states with its attributes. A script is mostly like any other math object model in Dr. Geo. Hilaire -- Dr. Geo http://drgeo.eu http://google.com/+DrgeoEu