# UMG Toggle Buttons

**URL:** <https://forums.unrealengine.com/t/umg-toggle-buttons/227052>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-26\
**Created:** [April 29, 2021, 9:46am UTC](https://forums.unrealengine.com/t/umg-toggle-buttons/227052 "2021-04-29T09:46:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [April 29, 2021, 11:22am UTC](https://forums.unrealengine.com/t/umg-toggle-buttons/227052/6 "2021-04-29T11:22:20Z")

</div>

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:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/a/0a28643c6e39b5b34b514ec8833d254dc2aff376.png)

And in the main widget holding checkboxes:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/a/aa33c94b2a547e75b74eae4c722002ae1f63a7b9.jpeg)

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 breeze.

---

_[View the full topic](https://forums.unrealengine.com/t/umg-toggle-buttons/227052)._
