# Using the Any Component Button

**URL:** https://community.thunkable.com/t/using-the-any-component-button/423421
**Category:** Questions about Thunkable X
**Created:** [January 23, 2020, 1:32pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421 "2020-01-23T13:32:30Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [January 23, 2020, 6:50pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/4 "2020-01-23T18:50:06Z")

</div>

@tatiang and @domhnallohanlon have both posted anycomponent tutorials recently.

Here is one example of a test project I made using their examples.

> [@\[Solved\] Help using any component blocks to set variables](http://community.thunkable.com/t/help-using-anycomponent-blocks-to-set-variables/422048/8):
>
> I had to play with this but it makes sense. I was able to reduce in a test app 16 to a single list saved in 1 variable. i will share the code and app here. it is a simple discrete trial teaching data collection tool used in an ABA therapy setting. currently the app is set up to measure 5 things in a % format. it only takes 18 blocks total and 0 extra variables per measure now instead of wayy more. I have also made use of the anycomponent blocks a lttle bit more!

and here is Domhnall’s

> [@AnyThoughts on how to Streamline code when using color changing buttons and dynamic labels and buttons](http://community.thunkable.com/t/anythoughts-on-how-to-streamline-code-when-using-color-changing-buttons-and-dynamic-labels-and-buttons/392102/11):
>
> I’ve started a new demo app that includes some of this functionality @jared . Users can create profiles which include their user name, profile picture and dietary requirements (for example) There’s no input validation yet, but I’m just sharing this as an example of using the Any Component blocks to create the multiple choice buttons you mentioned: [https://x.thunkable.com/copy/f21a68957395bf9aa24fd62a0b141c5e](https://x.thunkable.com/copy/f21a68957395bf9aa24fd62a0b141c5e) These are the blocks for setting an “active” diet (or…

and tatiang’s

> [@Any Component blocks](http://community.thunkable.com/t/any-component-blocks/414000):
>
> In this video, I explain how to use Any Component blocks to change a corresponding label when a button is clicked. The button’s background is also changed to reflect that it was clicked. There is a link to the project on the title screen of the video.

---

_[View the full topic](https://community.thunkable.com/t/using-the-any-component-button/423421)._
