Change image opacity in discrete steps

Hi!

How do I change the image opacity in the builder view in discrete intervals? I know that opacity change can be done using an equation for continuous change, but is there a way to specify discrete steps?

You could round the value of t or perhaps use math.floor instead

For example math.floor(t)/10