# When any buttion in a layout is pressed

**URL:** <https://community.thunkable.com/t/when-any-buttion-in-a-layout-is-pressed/3258876>\
**Category:** Issues / Bugs\
**Created:** [October 9, 2024, 6:37am UTC](https://community.thunkable.com/t/when-any-buttion-in-a-layout-is-pressed/3258876 "2024-10-09T06:37:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)\
**Post date:** [October 9, 2024, 6:37am UTC](https://community.thunkable.com/t/when-any-buttion-in-a-layout-is-pressed/3258876/1 "2024-10-09T06:37:58Z")

</div>

hello all,  
I want to use Any component to the following  
If “Any button” in LAYOUT A is pressed i want an event to happen.

When i try this this appy to ALL buttons on Screen and not only to the buttons in Layout A with i want. With the example on the side you can see how it looks like…But i cant find a way to saY oNLY APPLICABLE IF ANY BUTTONS IN lAYOUT a IS PRESSED…

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/d/2d3eb95890e06115cb8fa56ba0ad3ac3cd282a3a.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 9, 2024, 2:39pm UTC](https://community.thunkable.com/t/when-any-buttion-in-a-layout-is-pressed/3258876/2 "2024-10-09T14:39:28Z")

</div>

I asked again for the ability to detect clicks within Containers – which would be a subset of Layouts – in July. @matt_conroy I’m hoping that can get added soon.

> [@Any Container click event for use with cloned containers](https://community.thunkable.com/t/any-container-click-event-for-use-with-cloned-containers/3105958):
>
> Please add the ability to detect a click event for a container using Any Component blocks. I first brought this up two years ago here: [Is there a way to detect a click in a cloned Group or Container using Layouts (beta)?](https://community.thunkable.com/t/is-there-a-way-to-detect-a-click-in-a-cloned-group-or-container-using-layouts-beta/2105387). This is necessary to simulate a Data Viewer List using cloned components. Here is the existing click event block that does not include Containers:

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [October 9, 2024, 8:26pm UTC](https://community.thunkable.com/t/when-any-buttion-in-a-layout-is-pressed/3258876/3 "2024-10-09T20:26:31Z")

</div>

@stefansladdeneng1 @tatiang This is a good call out. Unfortunately, it is not planned for development at this time. I wish I could offer better news here.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 9, 2024, 9:23pm UTC](https://community.thunkable.com/t/when-any-buttion-in-a-layout-is-pressed/3258876/4 "2024-10-09T21:23:53Z")

</div>

Thank you for letting us know. Would love to see it but it’s helpful to know we need a workaround for now.
