How to change parallax background?

How do I change between multiple parallax background? Say I have parallax background 1, parallax background 2, parallax background 3. On click of a button I have to change between these backgrounds. I know how to change between normal background and also know to do single parallax background.

What do you mean by change between backgrounds? Change the image?

Yes. I want to change between different parallax background images.

You could do that by having each background image as an animation. Then change the image’s animation number to change to a different background image.

1 Like