I am trying to reference a value from a chop in another chop.

a = int(op(‘cross1input’)[‘chan1’])

op(‘null1’).outputConnectors[0].connect(op(‘cross1’).inputConnectors[a])

I have a constant watching a slider with a value of 0-1, a math node with Integer Round turned on.

It doesn’t matter what I do if I try and run this I get a “float” cannot be interpreted as an integer error.

What am I doing wrong? I thought I’ve done everything to eliminate/convert the float into int but apparently I’ve failed.

Thanks!!