Properties
Category
Romanian
Similar Topics
Statistics
Comments
11
Participants
5
Subscribers
0
Votes
1
Views
1853
Share
Answered
Hi
I create an point A with this onclick event:
SetValue[xx,x(A)]
SetValue[yy,y(A)]
SetValue[zz,z(A)]
and an point B with this onclick event:
Execute[{"SetValue[B,(%1,%2,%3)]"},xx,yy,zz]
I want to create a new tool with these points. So when I click on B it to move in place of A.
I want a tool because I not know the points will move and where it will move.
Files:
test-new-tool.ggb
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2021 International GeoGebra Institute
You can also create :
Temp=(0,0,0) not shown
test=true
and put this GeoGebra Script On Click to each <point> :
SetValue[<point>,If[test,<point>,Temp]]
test=!test
Hi, maybe I don't understand what you really want but :
hello
I think you want a button; when you clic this button then in a point (any new or old free point) then another point the first point is equal to second point. I think not possible or not easy.
perhaps with global javascript
You can do this with scripting: create global click listener that checks if the object is a point and if yes moves it to the position of A.
Please see registerClickListener, getObjectType and evalCommand in
https://www.geogebra.org/ma...
punctele A si B nu au fost create de editor , adica nu le-ati creat utilizand comenzile editorului.
macrourile sunt create prin intermediul editorului
instumentele sunt create prin macrouri, nu exista macrou, nu se poate crea instrument.
Comments have been locked on this page!