# How to add button "OnClicked" Event after adding it as a child.

**URL:** <https://forums.unrealengine.com/t/how-to-add-button-onclicked-event-after-adding-it-as-a-child/2703048>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [March 1, 2026, 5:11pm UTC](https://forums.unrealengine.com/t/how-to-add-button-onclicked-event-after-adding-it-as-a-child/2703048 "2026-03-01T17:11:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Overseeing\_Industry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overseeing_industry/32/584362_2.png) [@Overseeing\_Industry](https://forums.unrealengine.com/u/Overseeing_Industry)\
**Post date:** [March 1, 2026, 5:11pm UTC](https://forums.unrealengine.com/t/how-to-add-button-onclicked-event-after-adding-it-as-a-child/2703048/1 "2026-03-01T17:11:27Z")

</div>

I have a uniform grid panel and I add children to it for each save file it finds. The game is supposed to allow an infinite amount of listings because it is for custom levels. I got the levels to add correctly to the Uniform Grid Panel, but now the button does not work. I can click it like normal, but it does not run any code. I even tried a print command and that did not fire.

Image of what it looks like in game:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/2/fd25fb8ee470a7f18e9cbfd8886a679f6969bf25.png)

Image of the code to add the files into the Uniform Grid Panel:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/e/30e70c48e8f53d0c128cee5774bfc53a6e669846.png)

---

<div class="post-metadata">

**Author:** ![Countsie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/countsie/32/1194632_2.png) [@Countsie](https://forums.unrealengine.com/u/Countsie)\
**Post date:** [March 1, 2026, 8:11pm UTC](https://forums.unrealengine.com/t/how-to-add-button-onclicked-event-after-adding-it-as-a-child/2703048/2 "2026-03-01T20:11:37Z")

</div>

What does the onclicked event for your button look like in your UWCustomLevelInfo blueprint? You either need the event graph OnClicked event or custom event linked to BindEventToOnClicked for the button within your contruct event in that BP. Use parameters you set to public/expose on spawn in that event to load your level.

---

<div class="post-metadata">

**Author:** ![Overseeing\_Industry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overseeing_industry/32/584362_2.png) [@Overseeing\_Industry](https://forums.unrealengine.com/u/Overseeing_Industry)\
**Post date:** [March 1, 2026, 10:13pm UTC](https://forums.unrealengine.com/t/how-to-add-button-onclicked-event-after-adding-it-as-a-child/2703048/3 "2026-03-01T22:13:46Z")

</div>

This is the code for the child widget. I currently have it to just print, but it is not even doing that.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/2/bb2f255b793cde420143ebf7faf23db54900c426.png)

---

<div class="post-metadata">

**Author:** ![Overseeing\_Industry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overseeing_industry/32/584362_2.png) [@Overseeing\_Industry](https://forums.unrealengine.com/u/Overseeing_Industry)\
**Post date:** [March 1, 2026, 10:16pm UTC](https://forums.unrealengine.com/t/how-to-add-button-onclicked-event-after-adding-it-as-a-child/2703048/4 "2026-03-01T22:16:49Z")

</div>

Apparently, just like the saving issue I had earlier, it now suddenly works. I think I should verify the files of the engine.
