# How interrupt Checkbox state?

**URL:** <https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [September 2, 2021, 4:49pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678 "2021-09-02T16:49:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![espr3ss0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@espr3ss0](https://forums.unrealengine.com/u/espr3ss0)\
**Post date:** [September 2, 2021, 4:49pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678/1 "2021-09-02T16:49:38Z")

</div>

How can I interrupt the state of a Checkbox? So if a count were high enough that it wouldn’t change.

---

<div class="post-metadata">

**Author:** ![JaredTherriault](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jaredtherriault/32/1194499_2.png) [@JaredTherriault](https://forums.unrealengine.com/u/JaredTherriault)\
**Post date:** [September 2, 2021, 5:33pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678/2 "2021-09-02T17:33:13Z")

</div>

You can set any widget to disabled so it shows on screen but can’t be interacted with.

* * *

[Runtime DataTable](https://www.unrealengine.com/marketplace/en-US/product/4c7c4f8d523f4c90b2e26d23502c526c) : Import and export game data to and from CSV or Google Sheets while your game is running!

[easyCSV](https://www.unrealengine.com/marketplace/en-US/product/b25b855096e74d088d7553ccbe4072f2) : Read data from any CSV and put them in an easy-to-access string map!

[iTween](https://forums.unrealengine.com/t/open-beta-procedural-on-the-fly-animation-in-ue4-itween/10472) : Free, smooth, procedural object animation

---

<div class="post-metadata">

**Author:** ![espr3ss0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@espr3ss0](https://forums.unrealengine.com/u/espr3ss0)\
**Post date:** [September 2, 2021, 5:41pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678/3 "2021-09-02T17:41:04Z")

</div>

Not sure that is any better. I have multiple checkboxes and can only have a certain amount that can be checked, I’d have to set the rest as disabled and varies which.

---

<div class="post-metadata">

**Author:** ![JaredTherriault](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jaredtherriault/32/1194499_2.png) [@JaredTherriault](https://forums.unrealengine.com/u/JaredTherriault)\
**Post date:** [September 2, 2021, 5:55pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678/4 "2021-09-02T17:55:46Z")

</div>

Ok, well the alternative is to set an event on check state changed and verify the number of other checked boxes. You can then set the checked state directly in that event based on your criteria. Either way, this is going to require some manual work on your end.

---

<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:** [September 2, 2021, 6:27pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678/5 "2021-09-02T18:27:28Z")

</div>

> [@espr3ss0](#):
>
> I have multiple checkboxes and can only have a certain amount that can be checked

Have a look here:

> [@UMG Toggle Buttons](https://forums.unrealengine.com/t/umg-toggle-buttons/227052/6):
>
> Another solution that works for any number of widgets and does not require array iteration: Wrap the native checkbox with a User Widget, dispatch its state and self reference: And in the main widget holding checkboxes: You probably don’t even need that boolean but you may find another use for it! edit: Another benefit of wrapping User Widgets is that you can now easily stylise those checkboxes so they stay uniform throughout the menus. Makes maintenance / adjustments a …

You could probably easily modify it to support a set number only.

---

<div class="post-metadata">

**Author:** ![espr3ss0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@espr3ss0](https://forums.unrealengine.com/u/espr3ss0)\
**Post date:** [September 2, 2021, 7:03pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678/6 "2021-09-02T19:03:42Z")

</div>

Thanks. Bit of a hack.

---

<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:** [September 2, 2021, 7:20pm UTC](https://forums.unrealengine.com/t/how-interrupt-checkbox-state/248678/7 "2021-09-02T19:20:19Z")

</div>

> [@espr3ss0](#):
>
> Bit of a hack.

Thank you, I guess. I’m a hack, too. 😇
