# 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     |
