A tutorial to create custom tools on GeoGebra Classic.

In GeoGebra Classic, it is possible to create your own tools (for example, a tool that constructs the midpoint of a segment or the perpendicular bisector of a segment). This allows you to reuse constructions without repeating all the steps.

Example: creating a midpoint tool

We explain how to create a tool that takes two points \(A,B\) as input and returns their midpoint.

Step 1. Construct the object.

  • Create two points \(A\) and \(B\).
  • Construct two circles: one centered at \(A\) passing through \(B\), and one centered at \(B\) passing through \(A\).
  • Let \(C\) and \(D\) be their two intersection points.
  • Draw the line \((CD)\).
  • Let \(M\) be the intersection of \((CD)\) with the segment \([AB]\).

Step 2. Create the tool.

  • Click on Tools in the menu bar.
  • Select Create New Tool.

A window opens.

Step 3. Select the output.

  • In the list of objects, select the point \(M\).
  • Click Next.

Step 4. Select the input.

  • Select the points \(A\) and \(B\) as input objects.
  • Click Next.

Step 5. Name the tool.

  • Give a name to your tool (for example: Midpoint).
  • Click Finish.

Using the tool

Your new tool now appears in the toolbar.

To use it:

  • Select the tool,
  • Click on two points \(A\) and \(B\),
  • GeoGebra automatically constructs their midpoint.

Remarks

  • You can create tools for more complex constructions (perpendicular bisector, angle bisector, tangent to a circle, etc.).
  • Tools are especially useful when performing many constructions in the same activity.
  • You can save an activity and reuse the tools later by copying the file.