# \[Solved\] Help using any component blocks to set variables

**URL:** https://community.thunkable.com/t/solved-help-using-any-component-blocks-to-set-variables/422048
**Category:** Questions about Thunkable X
**Tags:** solved, variables
**Created:** [January 22, 2020, 7:42pm UTC](https://community.thunkable.com/t/solved-help-using-any-component-blocks-to-set-variables/422048 "2020-01-22T19:42:01Z")
**Posts on this page:** 1
**Showing post:** 8

<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:47pm UTC](https://community.thunkable.com/t/solved-help-using-any-component-blocks-to-set-variables/422048/8 "2020-01-23T18:47:59Z")

</div>

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!

 ![Screen Shot 2020-01-23 at 1.31.17 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/c/bcc742e84c8f37dcd2edd8d1c065ceeaae55061e.png)

[https://x.thunkable.com/copy/5c7372490965e9191353fe5055816f74](https://x.thunkable.com/copy/5c7372490965e9191353fe5055816f74)

---

_[View the full topic](https://community.thunkable.com/t/solved-help-using-any-component-blocks-to-set-variables/422048)._
