# Detailed information on components

***

## Interaction Parameters

### UIAButton

<table><thead><tr><th>Parameter</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Hover</td><td>Animation triggers when the mouse hovers over the object.</td><td></td></tr><tr><td>Press Button</td><td>Animation activates when holding down the mouse button on the object.</td><td></td></tr><tr><td>Click</td><td>Animation is triggered on a mouse click.</td><td></td></tr><tr><td>Script</td><td>Animation is triggered or stopped through a script.</td><td></td></tr><tr><td>Start</td><td>Animation runs at the start of the game.</td><td></td></tr></tbody></table>

### UIAPanel

| Parameter | Description                                                  |
| --------- | ------------------------------------------------------------ |
| Open      | Animation is triggered by the **Open** method in the script. |
| Close     | Animation runs via the **Close** method in the script.       |
| Script    | Animation is triggered or stopped through a script.          |
| Start     | Animation runs at the start of the game.                     |

***

## How to call Open & Close from a script in UIAPanel

<pre class="language-csharp"><code class="lang-csharp"><strong>using UIAnimation;
</strong>using UnityEngine;

public class Test : MonoBehaviour
{
    [SerializeField] UIAPanel uIAPanel;
    void Start()
    {
        uIAPanel.Open();
        uIAPanel.Close();
    }
}
</code></pre>

## How to call Play & Stop from a script in UIAPanel & UIAButton

```csharp
using UIAnimation;
using UnityEngine;

public class Test : MonoBehaviour
{
    [SerializeField] UIAPanel uIAPanel;
    [SerializeField] UIAButton uIAButton;
    void Start()
    {
        uIAPanel.Play();
        uIAPanel.Stop();

        uIAButton.Play();
        uIAButton.Stop();
    }
}
```

## Parameters - UIAController

| UI Components          | Array for - UIAPanel                                      |
| ---------------------- | --------------------------------------------------------- |
| delayBetweenAnimations | Time interval between consecutive animations              |
| executionMode          | Determines when animations should be triggered            |
| IsOnDisable            | If enabled, animations will close when object is disabled |
| loop                   | If enabled, animations will play in a continuous loop     |


---

# 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/start/detailed-information-on-components.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.
