help with key press over different patches, please?

josha's icon

Hi,

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

I have a patch where several patches are linked through p_control. On each separate patch I want to record the amount of key presses (using the space bar). The problem is that the space bar presses continue to be counted on the first patch even when i've moved on to the second one. How do I keep the space bar key press counting restricted to the patch I'm on?...

josha's icon
Max Patch
Copy patch and select New From Clipboard in Max.

figured it out.. not sure if this is the most elegant solution!...

ak's icon

see [active] object and its help patcher