Score change not working

Im creating an alphabet sound app. A random image is selected from a list and displayed on the screen. The image name is also spoken in text to speech. I have coded this successfully. I now want the user to select the correct letter that that image begins with. When I try to program "when button A is clicked" if the image is apple, it does not increase the score, it decreases it. Any ideas? Code and user interface below.

The problem is your if block
In fact implementation of that clause is not correct
So i will send you the correct form

So silly of me! Thank you so much for your help!

Hello Jessica

You don't need the image file block list since each image file is simply the image name + .png

You also do not need a Button Click block for every button, use the 'Any Component' blocks instead.

Like This:

AnyButton.aia (3.8 KB)

1 Like

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