# Check box is not keeping checked.

**URL:** <https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169>\
**Category:** UI\
**Tags:** checkbox, check, unreal-engine, Widget, question\
**Created:** [July 15, 2016, 8:33pm UTC](https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169 "2016-07-15T20:33:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon71236692](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71236692](https://forums.unrealengine.com/u/anon71236692)\
**Post date:** [July 15, 2016, 8:33pm UTC](https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169/1 "2016-07-15T20:33:19Z")

</div>

So I have a main widget with button that create the option widget with the check box and when I check the box and go back to the main widget and press again to go to the option widget the check box is no longer checked. How can I fix this? I tried everything from custom events to functions, branches, event ticks, etc.

---

<div class="post-metadata">

**Author:** ![Higuy8000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Higuy8000](https://forums.unrealengine.com/u/Higuy8000)\
**Post date:** [July 15, 2016, 9:01pm UTC](https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169/2 "2016-07-15T21:01:56Z")

</div>

If you’re creating and destroying the option widget, you’ll need to save and load that variable in order for it to maintain its current status. Your other option however would be to make the option widget invisible by default and make it visible when you click your button.

---

<div class="post-metadata">

**Author:** ![anon71236692](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71236692](https://forums.unrealengine.com/u/anon71236692)\
**Post date:** [July 15, 2016, 9:07pm UTC](https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169/3 "2016-07-15T21:07:34Z")

</div>

making it hidden is not working too.

---

<div class="post-metadata">

**Author:** ![Higuy8000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Higuy8000](https://forums.unrealengine.com/u/Higuy8000)\
**Post date:** [July 15, 2016, 9:28pm UTC](https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169/4 "2016-07-15T21:28:20Z")

</div>

and you are NOT creating a new one and/or deleting the old one? just a simple switching between visible and invisible?

---

<div class="post-metadata">

**Author:** ![anon71236692](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71236692](https://forums.unrealengine.com/u/anon71236692)\
**Post date:** [July 15, 2016, 10:09pm UTC](https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169/5 "2016-07-15T22:09:01Z")

</div>

Well I am just removing it from parent, because this way the widget disappear and the information within it still stored.

---

<div class="post-metadata">

**Author:** ![anon71236692](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71236692](https://forums.unrealengine.com/u/anon71236692)\
**Post date:** [July 18, 2016, 6:46pm UTC](https://forums.unrealengine.com/t/check-box-is-not-keeping-checked/364169/6 "2016-07-18T18:46:37Z")

</div>

I solved it. Removing from parent does not save the variable information, so I stored the variable in another BP.
