Blocks and statements/conditionals

I have an activity where an image of a specific color is displayed along with several buttons of different colors, including one button that matches the color of the image. When the correct button is pressed, an audio file called ‘correct.mp3’ plays, a gif is shown, and then it moves on to the next activity. However, I would like that when the other buttons are pressed, a ‘incorrect’ gif is also displayed, but instead of moving on to the next activity, it stays in the same place so that the user has another chance to complete the activity correctly. I’m not sure how to achieve this

Hi @jesusalbertotomiygte, welcome to Thunkable :tada:

Remember to check out our Community Guidelines and How to ask Great Questions v2.0 posts for tips on getting the best support from the Community on your issues.

I did something similar in a quiz app and wil share an example below. You just need to check if the button pushed is the same button as the answer in your case. If it is, you can show the correct gif and play the sound file, else you can show the incorrect gif and replay the question.

1 Like

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