Connecting UI Slider to Material Instance Color(RGB Values)

No problem.

So the problem is that you’re using a different function. The functions you have laid out are for Material Parameter Collections. To get the right functions, you’ll want to drag off of the test material variable and search there.

Also, I recommend you go with the alternative setup:

Now as for how you’d get a material from that sphere to the UI is a bit more complicated. It’d be really easy if this was for the player, but it’s for a random sphere.
This is the part where you have to decide how you want to do it- the approach will change depending on the purpose of the sphere.

For now, I’ll suggest you just use the closest sphere. If you decide if you want to use an interaction system, you’ll want to change it to whatever you’re interacting with. This is a very backwards way of doing it as the UI shouldn’t be handling something like interaction, but this is the best way to show:


In tick, we simply find the closest sphere. An error will be thrown if we check against an invalid object, so we make sure ClosestSphere is set first.

Then back in the slider region, we instead use a variable inside that sphere. In your case, that would be DynaMatTest