# Set visibility does not work

**URL:** <https://forums.unrealengine.com/t/set-visibility-does-not-work/324174>\
**Category:** Rendering\
**Tags:** visibility, unreal-engine, question, Blueprint, visible\
**Created:** [July 5, 2015, 7:21pm UTC](https://forums.unrealengine.com/t/set-visibility-does-not-work/324174 "2015-07-05T19:21:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dannyk90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dannyk90](https://forums.unrealengine.com/u/Dannyk90)\
**Post date:** [July 5, 2015, 7:21pm UTC](https://forums.unrealengine.com/t/set-visibility-does-not-work/324174/1 "2015-07-05T19:21:18Z")

</div>

I’m sure I’ve done everything correctly. I start these things on hidden, and this makes them visible, it happens in other scripts too - same problem it wont become visible.

[http://i.imgur.com/SGvv2L8.png](http://i.imgur.com/SGvv2L8.png)

This doesnt work either (though it does print the string at the end)

[http://i.imgur.com/2fyKc2x.png](http://i.imgur.com/2fyKc2x.png)

---

<div class="post-metadata">

**Author:** ![Timmeh\_ZA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Timmeh\_ZA](https://forums.unrealengine.com/u/Timmeh_ZA)\
**Post date:** [July 5, 2015, 11:16pm UTC](https://forums.unrealengine.com/t/set-visibility-does-not-work/324174/2 "2015-07-05T23:16:47Z")

</div>

Have you made sure the widget’s parent is visible too?

---

<div class="post-metadata">

**Author:** ![Dannyk90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dannyk90](https://forums.unrealengine.com/u/Dannyk90)\
**Post date:** [July 6, 2015, 8:20am UTC](https://forums.unrealengine.com/t/set-visibility-does-not-work/324174/3 "2015-07-06T08:20:41Z")

</div>

The fix was to store variables in game state and call from there omfg it took me so long to work that out.

---

<div class="post-metadata">

**Author:** ![Voradori](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Voradori](https://forums.unrealengine.com/u/Voradori)\
**Post date:** [August 18, 2015, 11:39pm UTC](https://forums.unrealengine.com/t/set-visibility-does-not-work/324174/4 "2015-08-18T23:39:25Z")

</div>

suffered from same issue, until found this comment

---

<div class="post-metadata">

**Author:** ![BrunoChaves](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BrunoChaves](https://forums.unrealengine.com/u/BrunoChaves)\
**Post date:** [June 19, 2017, 4:45pm UTC](https://forums.unrealengine.com/t/set-visibility-does-not-work/324174/5 "2017-06-19T16:45:50Z")

</div>

Could you please give an example to understand better?
