Hide knob and replacing it with the active knob

Mauro Trotta's icon

Hi! I need help to figure out how they make the active knob visible and hide the no active one in the attached patch. I understand the patch logic to hide it but I don´t see how they did in the presentation mode to replace it with the active one. I have been using setdevice messages to do a similar UI effect, but I don´t see how they make it here and it looks more simple than my solution.

Max Patch
Copy patch and select New From Clipboard in Max.

I actually would like to have live.numbox instead of knobs, but the UI should be like the patch attached. I would like to have the option of live.numbox with different ranges.

TFL's icon

It seems to work already, simply using the hidden attribute the objects. Notice that the hidden attribute only takes effect when the patch is locked. So you might get the impression that it doesn't work if you test it while unlocked.