# How to make a counter

**URL:** https://community.thunkable.com/t/how-to-make-a-counter/12109
**Category:** Questions about Thunkable X
**Created:** [December 12, 2017, 4:01am UTC](https://community.thunkable.com/t/how-to-make-a-counter/12109 "2017-12-12T04:01:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ekam232](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@ekam232](https://community.thunkable.com/u/ekam232)
#### Post date: [December 12, 2017, 4:01am UTC](https://community.thunkable.com/t/how-to-make-a-counter/12109/1 "2017-12-12T04:01:25Z")

</div>

Hi - I am having difficulty building a simple counter within my app. Id like there to be a button that increases the label by 1 and a second that decreases same label by 1. any guidance would be much appreciated. I was able to do this with android, but ios seems harder to me.

---

<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: [December 12, 2017, 2:19pm UTC](https://community.thunkable.com/t/how-to-make-a-counter/12109/2 "2017-12-12T14:19:07Z")

</div>

Hi @ekam232,

Can you share your a screenshot of your blocks please? The should be almost identical to Android, with the exception of initialising your variable.

---

<div class="post-metadata">

### Author: ![Nick1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nick1/32/13981_2.png) [@Nick1](https://community.thunkable.com/u/Nick1)
#### Post date: [December 13, 2017, 3:10am UTC](https://community.thunkable.com/t/how-to-make-a-counter/12109/3 "2017-12-13T03:10:06Z")

</div>

Hello,  
Here is your solution check:

 ![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/b/b373047cab0cdfa13da62fed5582d75f544e7280.PNG)

![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/c/c08f3db7346041ab7a371938505b5631a8ebaf94.png)

Sample File:[NICK\_COUNTER.aia](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/0/0e0d9ceaac475e50a65450cf9a199250b90b82db.aia) (1.9 KB)

---

<div class="post-metadata">

### Author: ![ekam232](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@ekam232](https://community.thunkable.com/u/ekam232)
#### Post date: [December 15, 2017, 4:16am UTC](https://community.thunkable.com/t/how-to-make-a-counter/12109/4 "2017-12-15T04:16:23Z")

</div>

thank you - but as far as I could tell, thats android not ios, unless im missing something…

---

<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:05pm UTC](https://community.thunkable.com/t/how-to-make-a-counter/12109/5 "2024-11-08T12:05:55Z")

</div>


