[Bug] [UMG] It's not possible to set 'slider' appearance via blueprint

‘Get’ functions are available, ‘set’ functions are not.

Regards,
Sascha

That doesn’t look like a bug, it’s read only: Orientation | Unreal Engine Documentation

Which means there is probably another way to do whatever it is you’re trying to do. If you explain we can probably help with that.

Thanks for your reply. I’d like to change the slider’s bar and handle color dynamically.

Ah, you’re for something like this then:Property Binding for UMG in Unreal Engine | Unreal Engine 5.1 Documentation

Bind the color properties to a function and the function computes the color and will get called automatically once it’s bound.

I would do that, if there would be a button to bind the color properties of the slider widget.

71439-umg_sliderappearance.jpg

Apologies, I’m not in front of my computer ATM.

Based on the docs those are all read only: USlider | Unreal Engine Documentation

You could probably set the WidgetStyle with a material brush (FSlateMaterialBrush | Unreal Engine Documentation) and then change the material itself. Just create a dynamic material and change that.

Sure, there are always ways to hack something. My current solution is to have two sliders in a widget switcher, one with color preset A, the other with color preset B. Dynamic Material Instance would be a possibility too, but the widget switcher was faster to implement.

To be honest, the intention of this post was not to ask for help, but to inform Epic that this functionality is missing and I believe that it’s probably not intended that this is the case, because it is possible to change the color and opacity of almost all other widgets, like buttons, text blocks, etc.

Thanks for your replies though.