# How can I create different variables clicking the same button?

**URL:** https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333
**Category:** Questions about Thunkable X
**Created:** [September 27, 2019, 2:17pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333 "2019-09-27T14:17:25Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)
#### Post date: [September 27, 2019, 2:17pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/1 "2019-09-27T14:17:25Z")

</div>

Hi, I m working with a note app. I need that when the user clicks the “SAVE” Button automaticaly generate a button and a “new variable” with it, in which when the user clicks that button he can acces to the textsinputs and images saved in it.

I m using Any component-create button but my problem starts when I have to set the variables, i dont know how can I do it

Here is an example:

 ![5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/4/5461b2c5d13e41da7298d076a30f5679e511857e.png)  
Also Idon’t know how to set the taken photo as a picture

If someone can help me i would apreciate! Thanks!

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [September 27, 2019, 6:33pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/2 "2019-09-27T18:33:10Z")

</div>

Hi,

I would have done so, create an object, which added all the necessary information, and then the object is assigned the Visible property of a button. When you click button, the object you’re reading from the Visible property and get all the necessary information.

You understood my idea to store information on the face buttons for easy access to it?

---

<div class="post-metadata">

### Author: ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)
#### Post date: [September 28, 2019, 3:03am UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/3 "2019-09-28T03:03:25Z")

</div>

Thanks you very much for took the time to answer but i m learning yet, i didnt understand, i dont know how to use objetcts

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [September 28, 2019, 8:06am UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/4 "2019-09-28T08:06:01Z")

</div>

Check it

[https://x.thunkable.com/projects/5d8f115cd2d2c968a38fce68/project/properties/designer/](https://x.thunkable.com/projects/5d8f115cd2d2c968a38fce68/project/properties/designer/)

---

<div class="post-metadata">

### Author: ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)
#### Post date: [September 28, 2019, 8:59pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/5 "2019-09-28T20:59:09Z")

</div>

Thanks you very much! Where do you think that i should store everything and how?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [September 29, 2019, 8:19am UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/6 "2019-09-29T08:19:45Z")

</div>

You need to stored data that will need to be accessed by pressing the button. If this is an image, you need to keep a URL to the image and so on.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [September 30, 2019, 4:08pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/7 "2019-09-30T16:08:54Z")

</div>

Hi @Leito,

This announcement has a brief explainer of how the Any Component blocks work.

> [@tada Any Component Blocks and Full Screen Video - Now available in Thunkable ✕ 2019-07-19](http://community.thunkable.com/t/any-component-blocks-and-full-screen-video-now-available-in-thunkable-2019-07-19/251443):
>
> This month we’re bringing you a number of small upgrades and one giant leap in block based coding. bookmark Release Notes This release contains a lot of updates and an entire new category of blocks, so please take a look at the [release notes](https://docs.thunkable.com/release-notes#jul-19-2019) for a more detailed description of everything that’s included. robot Thunkable Live for Android You can get the latest version of Thunkable Live for Android directly from the [Play Store](https://play.google.com/store/apps/details?id=com.thunkable.live)apple Thunkable Live for iOS Get the most recent version o…

If you have any requests for some additional tutorials please let us know.

Thanks.

---

<div class="post-metadata">

### Author: ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)
#### Post date: [September 30, 2019, 6:21pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/8 "2019-09-30T18:21:54Z")

</div>

Thanks Dom!

Now i m having problems with Google Play, i can download the app through the link but i cant find it by searching for the tittle

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [October 1, 2019, 5:19pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/9 "2019-10-01T17:19:57Z")

</div>

Hi @Leito - sorry for the delayed response.

If you’re having an issue with publishing your app please create a new post in the #creator-lounge with an outline of the issue you are facing.

Thanks!

---

<div class="post-metadata">

### Author: ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)
#### Post date: [October 3, 2019, 4:52pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/10 "2019-10-03T16:52:54Z")

</div>

Hey @domhnallohanlon Please I really need help, i need the Iphone and Ipad Screenshots to pubish in IOS PLEASE I started to distribuying the app and only Android Devices can download it

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:08pm UTC](https://community.thunkable.com/t/how-can-i-create-different-variables-clicking-the-same-button/247333/11 "2024-11-08T12:08:47Z")

</div>


