how i change the background color of scrollview viewport

how i can change the color of the scroll view view port change to black


If your viewport isn’t dynamic…you could clone the viewport gameObject, stack it above, remove the mask (script), Add Component > UI > Image in the Inspector for the gameObject and then assign a black colour value to the image component colour. You don’t need to assign an actual image sprite (unless you want a custom background image).

Hope that helps!