# help PLS with the Movable Scalable Widget

**URL:** <https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212>\
**Category:** Blueprint\
**Tags:** unreal-engine, Widget, question\
**Created:** [June 22, 2023, 11:16am UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212 "2023-06-22T11:16:18Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![blAddddDe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Post date:** [June 22, 2023, 11:16am UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/1 "2023-06-22T11:16:18Z")

</div>

Hello everyone!  
I would like to know how to make this widget ([Sword Art Online: Alicization Lycoris - How to unlock Sword Skills (All 9 Weapons Guide) - YouTube](https://youtu.be/1EZmGH09A-I) 0:18). I want to make a widget so I can move it around, zoom in and out, but it shouldn’t be a picture, it should be a widget that I can interact with.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 22, 2023, 11:28am UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/2 "2023-06-22T11:28:36Z")

</div>

You could do a skill tree using this:

> [@How to scale/zoom a widget with blueprints?](https://forums.unrealengine.com/t/how-to-scale-zoom-a-widget-with-blueprints/430983/25):
>
> By somewhat popular demand, I’ve updated this to support adding points of interest: re-jiggled the hierarchy by adding an inner canvas with auto size; we now shift that canvas instead of the image, which also moves and scales all elements attached to it

Or search for `Skill Tree` on the Marketplace.

---

<div class="post-metadata">

**Author:** ![blAddddDe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Post date:** [June 22, 2023, 2:56pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/3 "2023-06-22T14:56:01Z")

</div>

What to do ? I repeated it exactly as you did.

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/a/eeafd3df7d41949f84808fe29823c44a6b922fc4.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/a/eeafd3df7d41949f84808fe29823c44a6b922fc4.mp4)
  
 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/8/0586266fd174006635e608842af034edfb9fe935.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 22, 2023, 2:59pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/4 "2023-06-22T14:59:28Z")

</div>

To start with, it seems the canvasses are not even correctly sized here. The inner one must be larger than the outer, for example.

---

<div class="post-metadata">

**Author:** ![blAddddDe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Post date:** [June 22, 2023, 3:05pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/5 "2023-06-22T15:05:50Z")

</div>

How do I set up the correct size for it?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/f/a1f28dae0f38d7a187e709939e86c585df6d6068.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 22, 2023, 3:17pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/6 "2023-06-22T15:17:35Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/2/6b28285e9aa6728c2282d8c4b591d3999b76cc6c.png)

You then may want to:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/4/334c62c6a82c3f77f3cb5793c8419529b25c5e0e.png)

Ctrl+Shift+Click it. So it’s centered.

---

<div class="post-metadata">

**Author:** ![blAddddDe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Post date:** [June 22, 2023, 3:30pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/7 "2023-06-22T15:30:06Z")

</div>

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/2/6827569d513e6c45b799d0726221f3f07e9fdd91.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/2/6827569d513e6c45b799d0726221f3f07e9fdd91.mp4)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 22, 2023, 3:32pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/8 "2023-06-22T15:32:56Z")

</div>

I mean, do take your time to go through the script. You will need to understand fully how it works in order to use it. How am I supposed to even know what you did. You might have forgotten to set default values for variables, for example.

---

<div class="post-metadata">

**Author:** ![blAddddDe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Post date:** [June 22, 2023, 3:36pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/9 "2023-06-22T15:36:26Z")

</div>

The default values are correct

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 22, 2023, 3:38pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/10 "2023-06-22T15:38:25Z")

</div>

If you open the original project, it works, right? Not sure what kind of remote telepathy magic you are expecting here - I can’t tell what is going on on your end…

Step through the script, see what is going on. Debug it.

---

<div class="post-metadata">

**Author:** ![blAddddDe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Post date:** [June 22, 2023, 3:39pm UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/11 "2023-06-22T15:39:18Z")

</div>

Thanks so much for your help anyway.

---

<div class="post-metadata">

**Author:** ![Skilly](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skilly/32/720900_2.png) [@Skilly](https://forums.unrealengine.com/u/Skilly)\
**Post date:** [June 23, 2023, 8:46am UTC](https://forums.unrealengine.com/t/help-pls-with-the-movable-scalable-widget/1207212/12 "2023-06-23T08:46:44Z")

</div>

Hello, is it possible that your MinZoom variable is “too” big ? I’ve encountered the issue present in your gif when I’m zooming out too much.  
I think the fix is to either change the “Clamp Sides” function to better fit your needs or not use it (although it means your users will be able to “lose” the widget by going out of bounds)

Edit : In my case I fixed it by adding a Get Abs 2D node right after the minus node in the Clamp Sides function
