Properties
Category
Croatian
Similar Topics
Statistics
Comments
8
Participants
4
Subscribers
4
Votes
1
Views
464
Share
Needs Answer
Hi!
Is there a possibility to draw line only through existing points? I tried to create tool but iz also didn't work.
I would like to use tool only on existing points and not allow users to create new points when drawing with line tool. For example, just A, B, C and D to be on screen and user can only draw lines through these four points and not ot draw more points when using line tool (blue dots).
Is this possible to do in some way?
Thanks!
- 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 use the attached boolean "crePnt" include his java script onUPdate
and inclued the global java script
Note: use the setting "Java Script" instead of "GeoGebra.Script" at bottom of the script-editor-window.
You can create a custom tool and remove the normal line tool fron the toolbar. You can remove whatever existing tool from the toolbar, acoording to what you want to create or prevent.
chris
esto no servirá porque las herramientas crean los puntos que sirven como entrada para la propia herramienta
puedes hacer un script on click en cada punto y un booleano que indique que el punto ha sido seleccionado
de forma que cuando hagas click en el punto se ponga el booleano en true y a continuacion se ejecute un script que haga la recta sobre los dos puntos que tengan el booleano en true
pero ya Rami se me adelantó y lo dirá/hará mejor
you can use the attached boolean "crePnt" include his java script onUPdate
and inclued the global java script
Note: use the setting "Java Script" instead of "GeoGebra.Script" at bottom of the script-editor-window.
Comments have been locked on this page!