# Widget freezes?

**URL:** <https://forums.unrealengine.com/t/widget-freezes/411195>\
**Category:** UI\
**Tags:** black-screen, project-world-locati, unreal-engine, Widget, question\
**Created:** [December 2, 2017, 5:40pm UTC](https://forums.unrealengine.com/t/widget-freezes/411195 "2017-12-02T17:40:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirkseater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kirkseater](https://forums.unrealengine.com/u/kirkseater)\
**Post date:** [December 2, 2017, 5:40pm UTC](https://forums.unrealengine.com/t/widget-freezes/411195/1 "2017-12-02T17:40:51Z")

</div>

I’m trying to make a door were when you click on it, a widget will apear saying “Door Closed” the widget shows up on the player screen for 1 second and it goes away as it should. But when i click many many times fast on left mouse button, the widget freezes on the screen. Is it a way i can make it so that it dosen’t freeze on the screen?

 ![222294-uten-navn.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/5/34579fac21bf19053d927c5e2ab32b7ef4296d91.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:** [December 2, 2017, 6:32pm UTC](https://forums.unrealengine.com/t/widget-freezes/411195/2 "2017-12-02T18:32:41Z")

</div>

Try it like this:

 ![222286-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/6/006cc8ca4e946327e41255667f17efae49a2afb1.png)

To get the _wDoor_, promote the _Return Value_ of the _Create Widget_ node to a variable.  
This script checks whether the widget already exists, and only spawns a new one if there is none.

---

<div class="post-metadata">

**Author:** ![kirkseater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kirkseater](https://forums.unrealengine.com/u/kirkseater)\
**Post date:** [December 2, 2017, 7:08pm UTC](https://forums.unrealengine.com/t/widget-freezes/411195/3 "2017-12-02T19:08:50Z")

</div>

Thank you so much, it worked
