# My app won't allow to click on a image

**URL:** https://community.thunkable.com/t/my-app-wont-allow-to-click-on-a-image/1664146
**Category:** Questions about Thunkable X
**Created:** [January 2, 2022, 3:57pm UTC](https://community.thunkable.com/t/my-app-wont-allow-to-click-on-a-image/1664146 "2022-01-02T15:57:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![oof17189631](https://avatars.discourse-cdn.com/v4/letter/o/0ea827/32.png) [@oof17189631](https://community.thunkable.com/u/oof17189631)
#### Post date: [January 2, 2022, 3:57pm UTC](https://community.thunkable.com/t/my-app-wont-allow-to-click-on-a-image/1664146/1 "2022-01-02T15:57:54Z")

</div>

i added a code where when you click on a image the cookie variable number go down, but when I go to live test nothing works. here is my code link and image

[https://x.thunkable.com/copy/7ccb7792e41403a1fe73b958c17f8761](https://x.thunkable.com/copy/7ccb7792e41403a1fe73b958c17f8761)

 ![Screenshot 2022-01-02 105801](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/a/6a5b7fb1492699b68927af3cf6868fc862044c35.png)

---

<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 2, 2022, 7:01pm UTC](https://community.thunkable.com/t/my-app-wont-allow-to-click-on-a-image/1664146/2 "2022-01-02T19:01:55Z")

</div>

What value is your app variable Cookies initialized to? Is it initialized using a math block or a text block? Maybe show that part of the blocks in a screenshot, too.

Try adding a vibrate block to certain parts of your code and test it in Thunkable Live to see if it reacts to your click (above the If block and then if that works, within the If block).

Also, which screen is this on? It’s confusing when you post a link to a project with many screens and then expect us to know which one to look at.

**Edit:** I see the Shop screen event block. Still good to include that info in your post, though.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [April 2, 2022, 7:02pm UTC](https://community.thunkable.com/t/my-app-wont-allow-to-click-on-a-image/1664146/3 "2022-04-02T19:02:07Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
