# Animation

### Button Animation

Adds animation for the hover button.

![](/files/-Mdba3_VB1kroNQlDMhr)

| Property | Description                         |
| -------- | ----------------------------------- |
| Ratio    | The coefficient of the button size. |
| Duration | Animation time.                     |
| Curve    | The animation curve.                |

### Advanced Settings

![](/files/-MdbbX1VXhKDyXTp9AZ2)

Auto Bring To Front moves the button on top of all the others. Max Layer Position the layer to which the button will be moved.

**Auto Bring To Front** moves the button on top of all the others.&#x20;

**Max Layer Position** the layer to which the button will be moved.

{% hint style="info" %}
If the value of the **Max Layer Position** parameter is **-1**, the button will definitely be on top of all.
{% endhint %}

## Example

**Auto Bring To Front** is disabled.

![](/files/-MdbbMTQSqe3VPlgS_zU)

**Auto Bring To Front** is enabled.

![](/files/-MdbbSlNSAwXSQzSAsfW)


---

# 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://renownedgames.gitbook.io/aurora-engine/ui/animation.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.
