RunClickScript Command

From GeoGebra Manual
Jump to: navigation, search

RunClickScript( <Object> )
Runs the click script associated with the Object (if it has one).
Example: Let A and B be points. The OnClick script for B is SetValue(B,(1,1)). Setting the OnClick script of A as RunClickScript(B), moves point B to (1,1) when point A is clicked.
Note: See also RunUpdateScript command.
© 2021 International GeoGebra Institute