# how to get relative position of GUI, after a zoom in

**URL:** <https://forums.unrealengine.com/t/how-to-get-relative-position-of-gui-after-a-zoom-in/1246770>\
**Category:** Blueprint\
**Tags:** unreal-engine, Widget, question, Blueprint\
**Created:** [August 1, 2023, 7:38am UTC](https://forums.unrealengine.com/t/how-to-get-relative-position-of-gui-after-a-zoom-in/1246770 "2023-08-01T07:38:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 1, 2023, 7:47am UTC](https://forums.unrealengine.com/t/how-to-get-relative-position-of-gui-after-a-zoom-in/1246770/2 "2023-08-01T07:47:53Z")

</div>

You could take this apart:

> [@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

The script and the description of how it works is in the thread. Relevant image:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/e/48ec607d4b8415627e915831736607c4a01f5fc3.jpeg)

> I have also placed the vertical scroll window within another canvas which deals with zooming.

The suggestion above is using 2 nested canvasses instead.

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-get-relative-position-of-gui-after-a-zoom-in/1246770)._
