Conditional interactivity?

Jul 5, 2012 at 3:55pm

Conditional interactivity?


I’ve been wondering if is it possible to make the interaction with certain objects conditional, say having a number box ‘ignore clicks’ option enabled/disabled by a toggle, without using the inspector.

Also I would like to ask if visual display can be made conditional as well, say hidding/showing some object according to the state of another; or changing the color of a number box according to it’s value.

Thanks in advance!

Jul 5, 2012 at 4:10pm


Yep, using attributes ; to find them :

1. click on the inlet of the object or
2. open the inspector ; select : @ “Show Attribute Names” !


– Pasted Max Patch, click to expand. –
Jul 5, 2012 at 5:07pm

most of these things can be sent to the obejct as a message command. see reference or online doucumentation or leftmost inlet descriptions.

existance, position, or size ob a GUI object can be controlled easily using scripting, or using the offset command if it is inside a bpatcher.


Jul 5, 2012 at 5:12pm

Did you know that you can drag fields from the inspector to your patch, and that a message will be created which is appropriate to that field? Drag from the name of a parameter to the patcher and enjoy.

Jul 5, 2012 at 5:22pm

Thank you all very much! :)


You must be logged in to reply to this topic.