# UI Animation

### :large\_blue\_diamond: Popup Animation

* To select animation type of popup ( panel ), open the scene where contain the popup you want to change animation -> expand Canvas Popup game object -> select popup ( panel ) you want to change it's animation -> select animation type you like.

<figure><img src="/files/yn25xi1AU1R8EAqky3ZQ" alt="" width="563"><figcaption></figcaption></figure>

<mark style="color:yellow;">**The animation type of popup ( panel ) in the current template version has four types:**</mark>

* Scale.
* Fade.
* Move in from left.
* Move in from right.

### :large\_blue\_diamond: Home Screen Animation

When start running the game, the title game and other buttons on home screen will get animation, you can change animation type by:

* Open Main Menu scene -> select UI game object -> select animation type on Main Menu UI Animation inspector window.

<figure><img src="/files/YAN91TdXkbF2wcNbXjk8" alt="" width="563"><figcaption></figcaption></figure>

<mark style="color:yellow;">**The home screen animation has three types:**</mark>

* Move in.
* Scale.
* None.


---

# 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://black-knight.gitbook.io/2d-racing-multiplayer-game-template/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.
