General
make object inactive
Started by UniFly on .
Sign in or create an account to join the conversation.
Hi,
How to make object inactive(off) with special button? Maybe by using On expression script line? I guess it will be quite simple task, but can't find the way some time.
How to make object inactive(off) with special button? Maybe by using On expression script line? I guess it will be quite simple task, but can't find the way some time.
Do you wish to switch an object off or do you want it to NOT respond to touches?
I'm talking not about object hiding and showing like in this example:
::: On Expression :::
if(x== 0) {
show(myProgramChange,0);
} else if (x == 1) {
show(myProgramChange,1);
}
I want to switch object off/disable MIDI data.
::: On Expression :::
if(x== 0) {
show(myProgramChange,0);
} else if (x == 1) {
show(myProgramChange,1);
}
I want to switch object off/disable MIDI data.
There are many ways to achieve this.....
Either use a custom expression that can be ignored
Or use a custom midi out with a custom expression that can be ignored
or use a scripted output - ctlout(target, cc, val, channel)
or just show-hide a canvas object ABOVE the object you want to disable
Either use a custom expression that can be ignored
Or use a custom midi out with a custom expression that can be ignored
or use a scripted output - ctlout(target, cc, val, channel)
or just show-hide a canvas object ABOVE the object you want to disable
And here are the four examples - each one has its pros and cons.....figure them out! 
4ways-to-disable-objects-output.jzml
4ways-to-disable-objects-output.jzml
Thanks again n again Softcore!
OnExpression script seems better, it will not send 0 value when enabling.
OnExpression script seems better, it will not send 0 value when enabling.