FACER Community

Expression help!

Can someone help me please. I’m trying to make a step image that appears at say 0-500 steps but then disappears at 501-1000 and then the next image which will be a new a image appears at 501-1000 steps. I know this will need to be in the opacity field but am having trouble getting the formula right. I’m new at these expressions and trying to learn. Thanks in advance for any help you can give me.

3 Likes

Here you go, $#ZSC#>=0&&#ZSC#<501?100:0$ then the next one would be $#ZSC#>=500&&#ZSC#<1001?100:0$ and so on.

4 Likes

Thank you so much!

3 Likes

@mrantisocialguy Sorry one more question. What would I need to add to make the opacity 0 until you reach said step count then the old step count image would also go to 0 after that step count is met?

1 Like

Nevermind that is the expression. Thanks again!

2 Likes