# How to animate UI button's scale/ size from code or component in Studio?

**URL:** <https://forum.8thwall.com/t/how-to-animate-ui-buttons-scale-size-from-code-or-component-in-studio/8433>\
**Category:** Technical Support\
**Tags:** ui, studio\
**Created:** [October 24, 2025, 4:38am UTC](https://forum.8thwall.com/t/how-to-animate-ui-buttons-scale-size-from-code-or-component-in-studio/8433 "2025-10-24T04:38:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artmetech\_Team](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@Artmetech\_Team](https://forum.8thwall.com/u/Artmetech_Team)\
**Post date:** [October 24, 2025, 4:38am UTC](https://forum.8thwall.com/t/how-to-animate-ui-buttons-scale-size-from-code-or-component-in-studio/8433/1 "2025-10-24T04:38:36Z")

</div>

I want to have pop-up animation for my UI Button in the 8th Wall Studio. How to do that? Scale Animation component is not working for this.

---

<div class="post-metadata">

**Author:** ![Artmetech\_Team](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@Artmetech\_Team](https://forum.8thwall.com/u/Artmetech_Team)\
**Post date:** [October 25, 2025, 2:17pm UTC](https://forum.8thwall.com/t/how-to-animate-ui-buttons-scale-size-from-code-or-component-in-studio/8433/2 "2025-10-25T14:17:33Z")

</div>

I found the solution. Using [Custom Property Animation](https://www.8thwall.com/docs/api/studio/ecs/animation/custom-property-animation/) for animating the UI components.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/2X/9/9212a857458f1b03a6accb129e0f8cbea408e3e5.png) [@system](https://forum.8thwall.com/u/system)\
**Post date:** [October 29, 2025, 2:18pm UTC](https://forum.8thwall.com/t/how-to-animate-ui-buttons-scale-size-from-code-or-component-in-studio/8433/3 "2025-10-29T14:18:13Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
