# Widget won't be added

**URL:** <https://forums.unrealengine.com/t/widget-wont-be-added/37277>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 1, 2015, 12:56pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277 "2015-08-01T12:56:49Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 1, 2015, 12:56pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/1 "2015-08-01T12:56:49Z")

</div>

Hi all…  
Watch these pics…  
[http://s17.postimg.org/awacexhl7/Immagine.jpg](http://postimg.org/image/awacexhl7/)  
[http://s30.postimg.org/5ej475zhp/Immagine.jpg](http://postimg.org/image/5ej475zhp/)  
Why i can see only the first image?

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 2, 2015, 11:24am UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/2 "2015-08-02T11:24:13Z")

</div>

please help me ç\_ç

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a8723ae](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a8723ae](https://forums.unrealengine.com/u/anonymous_user_3a8723ae)\
**Post date:** [August 2, 2015, 11:49am UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/3 "2015-08-02T11:49:34Z")

</div>

hey there,

i would say you probably lost the reference of your widgets, i even wonder why its working with your first widget, but i may be wrong too.

Try the following:

after you call “Create Widget” save the output into a variable and then Add it to Viewport,  
do your delay and then "remove from parent via the variable you just set,

do the same thing with your second one.

best regards

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 2, 2015, 1:34pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/4 "2015-08-02T13:34:25Z")

</div>

save…the output? How O.o

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a8723ae](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a8723ae](https://forums.unrealengine.com/u/anonymous_user_3a8723ae)\
**Post date:** [August 2, 2015, 4:54pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/5 "2015-08-02T16:54:45Z")

</div>

ehm, the “Return value” from the “Create Widget” node is the “Output” i was talking about,

save that one in a variable, thats all what i was talking about 😉

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 2, 2015, 6:48pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/6 "2015-08-02T18:48:59Z")

</div>

you mean i can add the widget to a variable? how?

---

<div class="post-metadata">

**Author:** ![onimike](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@onimike](https://forums.unrealengine.com/u/onimike)\
**Post date:** [August 2, 2015, 9:24pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/7 "2015-08-02T21:24:07Z")

</div>

You have to pull off of the Return Value from the Create a Widget box and Promote To Variable. Then you will see a a new variable called New Var so rename it to referance your widget. Hope this helps

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 2, 2015, 9:40pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/8 "2015-08-02T21:40:55Z")

</div>

I don’t see promote to value O.o

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 4, 2015, 7:25pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/9 "2015-08-04T19:25:17Z")

</div>

can you explain me how?

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 8, 2015, 12:05pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/10 "2015-08-08T12:05:39Z")

</div>

please help me

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [August 8, 2015, 9:54pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/11 "2015-08-08T21:54:25Z")

</div>

Hey there, first of all, we have a rule here that you are only allowed to bump a thread after 4 days of no response.  
Please remember this rule for upcoming bumps! (:

Second, he meant this options:

[http://puu.sh/julok/c0c647e341.png](http://puu.sh/julok/c0c647e341.png)

Drag of the return value of the CreateWidget node and release it on an empty space.  
Clicking “PromoteToVariable” will create a variable of the Objects Type. Which in this case, is your Widget.

You can then use the Variable to interact with the create widget. But make sure that this variable is filled with  
the create widget! If you just create the variable and use it without filling it, it will just be an empty container!  
This type of variable is not like an INT, where there is always a number in it! This one can and will be empty  
if you don’t fill it! PromoteToVariable will directly add a “Set Node” for that variable and connect it with the  
ReturnValue.

[http://puu.sh/julCb/f59784638f.png](http://puu.sh/julCb/f59784638f.png)

You CAN and SHOULD use the “IsValid” node on these Pointer variables. The “IsValid” output will only fire if the  
variable is not empty.

So try to fix the error with the variable. If this doesn’t work, come back and show us the setup (:

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 9, 2015, 12:05pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/12 "2015-08-09T12:05:30Z")

</div>

sorry for the inconvenience …  
By the way i have still the same problem…  
I can see only the first widget…  
[http://s27.postimg.org/ipdl62p5b/Immagine.jpg](http://postimg.org/image/ipdl62p5b/)  
[http://s2.postimg.org/67z678dat/Immagine.jpg](http://postimg.org/image/67z678dat/)

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [August 9, 2015, 1:07pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/13 "2015-08-09T13:07:53Z")

</div>

You don’t have a delay for your second Widget. everything you have done there will be executed at the end of the tick, so  
it will be added and directly removed again.

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 9, 2015, 6:30pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/14 "2015-08-09T18:30:28Z")

</div>

i set the delay but it doesn’t work

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_837816701](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_837816701](https://forums.unrealengine.com/u/anonymous_user_837816701)\
**Post date:** [August 9, 2015, 10:33pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/15 "2015-08-09T22:33:52Z")

</div>

This worked fine for me on 4.8.2 at least

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/d/2fd76cd212ef9df57ed90a1d32837250c721fabb.jpeg)

---

<div class="post-metadata">

**Author:** ![Siengried](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Siengried](https://forums.unrealengine.com/u/Siengried)\
**Post date:** [August 9, 2015, 11:01pm UTC](https://forums.unrealengine.com/t/widget-wont-be-added/37277/16 "2015-08-09T23:01:17Z")

</div>

I solved…i changed the map and it works…why O.o?
