This means that all bubbles have the same color.
I guess. OR they access by using a value that’s individual, meaning inside the class, so each bubble can have a different value.
Did you look at lerpColor? Similar to lerp it provides a smooth transition from color A to color B, using a value amt between 0 and 1. See reference.
Please try to improve the code and post your correct code
Thank you!