# How to determine the scale of a widget independent of its parent?

**URL:** <https://forums.unrealengine.com/t/how-to-determine-the-scale-of-a-widget-independent-of-its-parent/2476700>\
**Category:** UI\
**Tags:** unreal-engine, scale, Widget, question\
**Created:** [April 26, 2025, 7:12am UTC](https://forums.unrealengine.com/t/how-to-determine-the-scale-of-a-widget-independent-of-its-parent/2476700 "2025-04-26T07:12:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![carta\_oro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@carta\_oro](https://forums.unrealengine.com/u/carta_oro)\
**Post date:** [April 26, 2025, 7:12am UTC](https://forums.unrealengine.com/t/how-to-determine-the-scale-of-a-widget-independent-of-its-parent/2476700/1 "2025-04-26T07:12:23Z")

</div>

I want to be able to pull the tab to expand the widget. To achieve this, a button is placed on the edge of the parent widget, and when it is pressed, the scale changes from 0 to 1, creating the effect of being “pulled out.”  
However, if the parent widget’s scale becomes 0, the button’s scale will also become 0 and it will no longer be possible to press it.  
How can I make a button scale independent of its parent widget?

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [April 26, 2025, 5:12pm UTC](https://forums.unrealengine.com/t/how-to-determine-the-scale-of-a-widget-independent-of-its-parent/2476700/2 "2025-04-26T17:12:59Z")

</div>

Many ways to achieve what you are asking for but as child hierarcy you can just use a ScaleBox as wrapper to your button

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/a/b8a8b55a83e627d5de825a14ec637763163a17fe.png)

---

<div class="post-metadata">

**Author:** ![carta\_oro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@carta\_oro](https://forums.unrealengine.com/u/carta_oro)\
**Post date:** [April 27, 2025, 7:35am UTC](https://forums.unrealengine.com/t/how-to-determine-the-scale-of-a-widget-independent-of-its-parent/2476700/3 "2025-04-27T07:35:52Z")

</div>

This is the first time I’ve learned how to use this box. Thank you very much.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 27, 2025, 7:36am UTC](https://forums.unrealengine.com/t/how-to-determine-the-scale-of-a-widget-independent-of-its-parent/2476700/4 "2025-05-27T07:36:52Z")

</div>

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