# Get component name

**URL:** <https://community.thunkable.com/t/get-component-name/402575>\
**Category:** Questions about Thunkable X\
**Created:** [January 11, 2020, 7:21pm UTC](https://community.thunkable.com/t/get-component-name/402575 "2020-01-11T19:21:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [January 11, 2020, 9:39pm UTC](https://community.thunkable.com/t/get-component-name/402575/3 "2020-01-11T21:39:49Z")

</div>

Edit: oops! You want the name. Hmm, no, I don’t think so. I read this too quickly. Sorry!

You can get the button ID. This topic explains how:

> [@How to figure out which button was pressed](http://community.thunkable.com/t/how-to-figure-out-which-button-was-pressed/146235):
>
> Create a list The listOfButtons will be used to store all of the button components in your app. [00\_create\_list\_of\_buttons] Add buttons to your list There are a couple of ways you might do this. The first is to add each button when the screen opens. This approach will only work if your UI contains all the buttons you already need. [01\_create\_list] If however, you are creating your buttons dynamically, you can add each new button, one at a time, to the end of your listOfButtons with something…

It’s a little more detailed than you might need so here’s a simple way to get that info:

 ![Screen Shot 2020-01-11 at 1.28.55 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b7bd46d4b4d121be76a6eeca86860ab329a0847b.png)

---

_[View the full topic](https://community.thunkable.com/t/get-component-name/402575)._
