How do I set parameter number from LUA?

How do I set parameter number from LUA? This gave me an error: controls.get(1):getValue():setParameterNumber(69);

error running function ‘runFunction’: ctrlv2/slots/p000.lua:135: attempt to call a nil value (method ‘setParameterNumber’)

I think you need one more step:

controls.get(1):getValue():getMessage():setParameterNumber(69)

1 Like

It works exactly as I want it to. I can’t thank you enough :grinning: Now I can finally continue building my preset.

1 Like