Getting started
How to add GGBScripts to an object?
To add GGBScripts to an object just right-click the object in either the Algebra or Graphics View, click the Object Properties.
Then select the Scripting tab. Three more tabs will appear, On Click, On Update and Global JavaScript. The GGBScripts will be added the most of the time in the first two tabs. However, we might add a few examples using the Global JavaScript tab.
How are we going to start a construction?
Now that we know how to add a GGBScript to an object, we will need to know how we are always going to start a construction.
Step 1: First, create a button from the main menu.
Step 2: A new window will appear. Write in Caption: "Setup" (this is optional) and in the window GeoGebra Script you can add the GGBScripts.
Click Ok and finally activate the GGBScript by clicking on the Setup button to obtain, in this case, a point A with coordinates (1, 2) and a circle c with center A and radius 1:
If you prefer, you can download a template here: Setup Box