C# creating automatic sliders

@Mahdiyar this works, but I’am afraid gives me this error. Appreciate the quick response. Refer image below


Furthermore, If I want to connect this to another component Input(x), How do I go about this.
Rationally, I should try and find the component first and use <input .AddSource(myslid); >on that component. But how do I find that component through component name or ID? I could use FInd component from NodeinCode but the I’am afraid it will find similar components on the canvas.
Any suggestions.