# OnClicked doesn't work anymore when within a canvaspanel

**URL:** <https://forums.unrealengine.com/t/onclicked-doesnt-work-anymore-when-within-a-canvaspanel/378214>\
**Category:** UI\
**Tags:** unreal-engine, bug-report, Widget, question, CPP, Blueprint\
**Created:** [December 3, 2016, 6:11pm UTC](https://forums.unrealengine.com/t/onclicked-doesnt-work-anymore-when-within-a-canvaspanel/378214 "2016-12-03T18:11:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxiHori](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MaxiHori](https://forums.unrealengine.com/u/MaxiHori)\
**Post date:** [December 3, 2016, 6:11pm UTC](https://forums.unrealengine.com/t/onclicked-doesnt-work-anymore-when-within-a-canvaspanel/378214/1 "2016-12-03T18:11:01Z")

</div>

I just updated to 4.14 from 4.13.

I have a widget with a button with an onclicked event that print a string.

if placed within the main CanvasPanel (self hit test invisible), it works.

if placed within an inner canvaspanel (visible) it doesn’t work (it worked in 4.13).

The inner canvaspanel is binded to a visibility boolean (which change it from collapsed to visible)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [December 5, 2016, 4:36pm UTC](https://forums.unrealengine.com/t/onclicked-doesnt-work-anymore-when-within-a-canvaspanel/378214/2 "2016-12-05T16:36:29Z")

</div>

Hello MaxiHori,

After reading over the information provided, this appears to be a known issue. I have provided a link to the public tracker. I have also provided a link to the original post. Please feel free to use the links provided for future updates.

Link: [Unreal Engine Issues and Bug Tracker (UE-37698)](https://issues.unrealengine.com/issue/UE-37698)

Link (original post): [Widget buttons doesn't respond in secondary PIE window - UI - Epic Developer Community Forums](https://answers.unrealengine.com/questions/510996/widget-buttons-doesnt-respond-in-secondary-pie-win.html)

Make it a great
