# Movable Window

**URL:** <https://forums.unrealengine.com/t/movable-window/109573>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [April 15, 2018, 7:01pm UTC](https://forums.unrealengine.com/t/movable-window/109573 "2018-04-15T19:01:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaesulli95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jaesulli95](https://forums.unrealengine.com/u/jaesulli95)\
**Post date:** [April 15, 2018, 7:01pm UTC](https://forums.unrealengine.com/t/movable-window/109573/1 "2018-04-15T19:01:12Z")

</div>

Hello All I created a movable window in Blueprint following some guides on the wiki and on youtube, and it works good. However, When i set the visibility of the window to hidden and then back to visible via key press, it then deactivates my button i can not press any of my buttons, and where i drag the mouse the window follows does anyone know why this could be happening, and any potential solutions. If need be i can post screenshots of the code.

---

<div class="post-metadata">

**Author:** ![graphicsgriffin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@graphicsgriffin](https://forums.unrealengine.com/u/graphicsgriffin)\
**Post date:** [April 15, 2018, 10:00pm UTC](https://forums.unrealengine.com/t/movable-window/109573/2 "2018-04-15T22:00:23Z")

</div>

can you post a screenshot?

---

<div class="post-metadata">

**Author:** ![jaesulli95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jaesulli95](https://forums.unrealengine.com/u/jaesulli95)\
**Post date:** [April 16, 2018, 6:40am UTC](https://forums.unrealengine.com/t/movable-window/109573/3 "2018-04-16T06:40:07Z")

</div>

![Capture1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/c/5cba18b06868b884a5dda17faee404122a650127.png)

Please excuse the delay, I had been up for a while at the time of making this topic. However I seem to have found a solution to the issue. In creating a movable window, I’m not sure if Rama’s movable window experiences the issue as I have not tested it.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

So if you create a movable window, and then say you want to make it “POP UP” one way to do this is to add it the view port and set the visibility to hidden and visible, on a flip flop. The issue with creating the widget through the “CREATE WIDGET” node in blueprint is you can DRAG THE WINDOW outside of the space of the actual box, and it disables pressing any buttons on the screen I have found, which may be due to the “Invisible canvas panel covering it”.

A quick fix found this to promote my main UI widget to a variable, in the blueprint designer window at my movable widget, and set it to hidden it works well, and as intended.

However I would like to know if anyone knows if its a bug, cause even if I CREATE the MOVABLE WIDGET through a node its invisible canvas panel seems larger than intended, as i can still press the window and move it. But if i go back to the origin location of spawn and drag it moves the window too.

I hope that makes sense.

---

<div class="post-metadata">

**Author:** ![graphicsgriffin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@graphicsgriffin](https://forums.unrealengine.com/u/graphicsgriffin)\
**Post date:** [April 16, 2018, 9:15am UTC](https://forums.unrealengine.com/t/movable-window/109573/4 "2018-04-16T09:15:20Z")

</div>

I thought you were taking about an actual window inside a wall! LOL silly me!

No problem. Now, why use set visibility? can you create a widget and remove it from parent when not needed instead of setting to invisible? would this make any difference regarding your issue?

---

<div class="post-metadata">

**Author:** ![jaesulli95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jaesulli95](https://forums.unrealengine.com/u/jaesulli95)\
**Post date:** [April 16, 2018, 1:17pm UTC](https://forums.unrealengine.com/t/movable-window/109573/5 "2018-04-16T13:17:04Z")

</div>

Setting visibility will optimize performance instead of having to REMOVE from parent then create the widget. Also in more time debugging visibility wasn’t the issue of was more the creating the widget with thathatt mode was causing the canvas panel to be bigger then seen. And something is alerting me that the canvas that’s invisible is detaching itself  
​​​​
