# Interaction

{% stepper %}
{% step %}

### Add any collider as well as the “Mesh Animation Interact” component

<figure><img src="/files/1w8lE91ogqsQrzYrEd0F" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enable and configure the type of Interactions you need so that the animation plays. Also, select the animation you want.

<figure><img src="/files/n2rleIA00bwDEQTUsHOL" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### For example, you can select “Spawn” - this will trigger the animation when the game starts or when OnEnable is called

<figure><img src="/files/bW0BEn7Nfn2xyhgpgfiM" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Alternatively, you can select multiple types at once for different animations or for the same animation. For example, Hold + Impact. With Impact, we deal damage to the object and trigger a deformation animation. With Hold, we hold down the mouse button to restore the object to its original shape after deformation.

<figure><img src="/files/f8x4Xnb1qrM0OzXIKAYL" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Done

Now you can experiment with your animations!
{% endstep %}
{% endstepper %}


---

# 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://tkkoi-developer.gitbook.io/tkkoiassets/mesh-animation/start/interaction.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.
