# Inserting an interaction – advanced

We explained the two basic methods to insert an interaction here. For some interaction types there is a third option.

Adding the interaction in a formula

Use the $f(x)$ button to create a mathematical expression. Click the bucket symbol () in the formula editor to choose the interaction you want to add to the expression.

Click the name of the interaction you want to insert.

In the example below, the question has two mathematical expressions with inline interactions:

The interactions are defined as follows:

I1a – Algebra – Task Simplify$\sqrt{9}$
I1b – Math Entry – Same expression, literal$16$

This yields the following interactive AlgebraKiT exercise:

Refer to the overview of all possible interaction usages here.