# Change the position of an already open popup view (perspective)

**URL:** <https://forum.inductiveautomation.com/t/change-the-position-of-an-already-open-popup-view-perspective/38291>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 2, 2020, 11:43am UTC](https://forum.inductiveautomation.com/t/change-the-position-of-an-already-open-popup-view-perspective/38291 "2020-09-02T11:43:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [September 2, 2020, 11:43am UTC](https://forum.inductiveautomation.com/t/change-the-position-of-an-already-open-popup-view-perspective/38291/1 "2020-09-02T11:43:28Z")

</div>

Is there any way to change the position of an open popup window (preferably through scripting)?

I have a small popup that sits in the bottom corner that I want to nudge upwards 40 pixels if the user opens a toolbar.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [September 2, 2020, 12:15pm UTC](https://forum.inductiveautomation.com/t/change-the-position-of-an-already-open-popup-view-perspective/38291/2 "2020-09-02T12:15:01Z")

</div>

Just close and reopen popup again with new position.  
This is so fast which user doesn’t notice closing and opening.

---

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [September 2, 2020, 12:25pm UTC](https://forum.inductiveautomation.com/t/change-the-position-of-an-already-open-popup-view-perspective/38291/3 "2020-09-02T12:25:13Z")

</div>

hrm ok I was thinking of something like that, thanks.

Do you know if there’s anyway to open a popup with its position relative to an open view? or to have the popup be contained within a view? right now I’m hard coding the left position of my popup with adding in the width of the docked view, but really the popup should just be only opening in my main view (never over the docked view).

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [September 2, 2020, 1:17pm UTC](https://forum.inductiveautomation.com/t/change-the-position-of-an-already-open-popup-view-perspective/38291/4 "2020-09-02T13:17:45Z")

</div>

Could take a screenshot of your GUI. I need to know why do you need it.  
For example each time when your view open put it’s x y position in session props and then when you want open popup use that coordinate.

---

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [September 2, 2020, 1:19pm UTC](https://forum.inductiveautomation.com/t/change-the-position-of-an-already-open-popup-view-perspective/38291/5 "2020-09-02T13:19:53Z")

</div>

hrm I’m not allowed to share a screenshot publicly, but I’ll see where I get with that idea. thanks!
