Setting Variable Range For A Slider Component


Recommended Posts

Is there any way to set the range for a slider component using variables or channel values ?

for example, I create 2 channels named Min and Max and assign Min to lower range and Max to higher range. However, the component won't allow me to use variable but requires a set of numeric number only for the range.

Link to comment
Share on other sites

Yes. First, name the component by selecting it, then right clicking and selecting "Component Name". For this example, let's just call it "MySlider", but you should come up with a better, more unique name. Then, in script, you would do something like:

component.mySlider.rangeMax = 50

There are a bunch of other variables accessed this way too, and all the other components have them as well.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.