# Interactions

An Interaction defines the behaviour of an IO. Inside the ‘Interactions’ section of any IO, there is an **empty interaction** item. We recommend keeping it as-is and duplicate it to create new interactions. You can have as many interactions as you want inside an IO.

## Principle of an interaction

An interaction is composed by two fundamental elements:

1. A set of **Conditions**
2. A set of **Actions**

<figure><img src="https://www.zoe.com/wp-content/uploads/2020/02/interaction-principle.png" alt=""><figcaption></figcaption></figure>

The principle is simple: for any interaction, once its conditions are validated, the defined associated actions will take place.&#x20;

{% hint style="info" %}
Note: if you don’t define conditions but only actions, they will occur instantly, at start.
{% endhint %}

Let’s see how it works !

*Note: if you haven't already create an Interactive Object in your project, read* [*this*](/adding-interactivity/interactive-objects.md) *first.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unity.zoeimmersive.com/adding-interactivity/interactions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
