canvas.active
The canvas.active object reports the activity status of a Pure Data patch window. It outputs 1 when the window is active (front-most) and 0 when inactive. It can also query the activity of parent patches using a depth argument, or output the active window's name when the -name flag is used, which is useful for dynamic patching.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.