# Variable from level blueprint to widget. \[solved\]

**URL:** <https://forums.unrealengine.com/t/variable-from-level-blueprint-to-widget-solved/372873>\
**Category:** UI\
**Tags:** communication, unreal-engine, level-blueprint, Widget, question\
**Created:** [October 9, 2016, 11:20am UTC](https://forums.unrealengine.com/t/variable-from-level-blueprint-to-widget-solved/372873 "2016-10-09T11:20:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheResearcher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheResearcher](https://forums.unrealengine.com/u/TheResearcher)\
**Post date:** [October 9, 2016, 11:20am UTC](https://forums.unrealengine.com/t/variable-from-level-blueprint-to-widget-solved/372873/1 "2016-10-09T11:20:57Z")

</div>

I want to use this array called “Disobeyed” and place its content in one of my widgets. My problem is, I can’t accessed it in the event graph of my widget.

 ![110192-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/5/c85a2791b45fa54b0dd098c8ec56ca120a85b417.png)

---

<div class="post-metadata">

**Author:** ![Gaidline](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gaidline/32/754668_2.png) [@Gaidline](https://forums.unrealengine.com/u/Gaidline)\
**Post date:** [October 10, 2016, 2:01pm UTC](https://forums.unrealengine.com/t/variable-from-level-blueprint-to-widget-solved/372873/2 "2016-10-10T14:01:36Z")

</div>

You can not get reference to Level Blueprint so you need to do it backwards. Find the place where this widget is added to viewport and send reference of the widget to the Level BP, for example via dispatcher.

[Or move your varaibles to other BP](https://answers.unrealengine.com/questions/434159/how-to-get-variables-from-level-blueprint.html)

---

<div class="post-metadata">

**Author:** ![TheResearcher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheResearcher](https://forums.unrealengine.com/u/TheResearcher)\
**Post date:** [October 11, 2016, 2:55am UTC](https://forums.unrealengine.com/t/variable-from-level-blueprint-to-widget-solved/372873/3 "2016-10-11T02:55:39Z")

</div>

I solved my problem by exposing variables from widgets and passing it through casting. Thanks by the way.

---

<div class="post-metadata">

**Author:** ![AlainAbramo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlainAbramo](https://forums.unrealengine.com/u/AlainAbramo)\
**Post date:** [July 2, 2019, 9:38pm UTC](https://forums.unrealengine.com/t/variable-from-level-blueprint-to-widget-solved/372873/4 "2019-07-02T21:38:12Z")

</div>

Can you please show how you solved it?

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [October 25, 2021, 9:40pm UTC](https://forums.unrealengine.com/t/variable-from-level-blueprint-to-widget-solved/372873/5 "2021-10-25T21:40:08Z")

</div>

Here:  
Cast To Any Widget From Level BP To Get Constant Variable Update, To Check On Things:

 ![351029-bru.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/7/fb7592f3c98aeb2d4ccc3d3baffef325fdbfa3d8.jpeg)
