Scrollbar border color


I’ve been playing with the ScrollBar feature, and I can’t get the border color to change.

In my playground demo ( I was able to affect the border thickness, but the Rectangle.color and ScrollBar.borderColor properties weren’t registering any changes.


Welcome to the Babylon community. :joy:

Here’s another example with what I’d think you’d like:

Specifically what I changed was:
sv.thickness = 0; and sv.color = "transparent";

There are tons of properties to the scrollviewer GUI so I’d recommend checking our the doc page specifically if you haven’t already and play around with it.Scroll Viewer | Babylon.js Documentation

Let me know if you have any other questions :slight_smile:

Edit: have it working with your version now too. Is this what you would like?

Yes, thanks!

1 Like