How do i make the slider change the image of the component "Image1" when the value of the slider change?

Hello there!
I have been trying to make a project Emoji mood slider… But when i slide the slider, the image just changes to the image i don’t want even though i arranged them in an order and then it doesn’t even change the image after changing the wrong image…please tell me according to thunkable free.
THANK YOU

Your if blocks conflict with each other.

If I check for a value < 3 and also check for a value < 2 and also a value < 5, etc. then ALL of those are true if the value of the slider is 1. So you’re going to have an unpredictable result because all of those blocks are going to fire.

What you need to do instead is name your image files emoji1.png, emoji2.png, emoji3.png, etc. and then set Image1’s Picture to [join] “emoji” + [value] + ".png. You only need one when Slide1 on Sliding Complete block to achieve that.

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