ZBrushCentral

could I add the slider when I push the button

Hey, one UI issue, can I add the slider component when I press the button?
And, how can I change the slider label when the value changed? thanks

I’m not sure I understand exactly what you are trying to do. There’s no way to change the slider name while adjusting the slider, so it’s impossible to create in zscript the equivalent of the slider at the top of the tool palette (for example).

Renaming buttons or sliders is also tricky. You can do it if your zscript is always loaded by the user and appears at the bottom of the UI like yours does. What you do is have the new name stored in a memory block so that it persists and then reload the zscript so the button is redrawn. But you can’t use the same method with installed plugins.

what I want to do is the slider like tool list.
tool.png
the label (polysphere) will change when user adjust the slider value, can we so that?

No, that’s not possible (as I said in my post above!).