Skip to content

canvasindex

canvasindex dynamically reports the index of an abstraction or subpatch within its parent canvas, while its second outlet reports how many objects that canvas contains. An argument selects the parent depth; for example, canvasindex 2 operates on the grandparent canvas.


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.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for context and install it. Then create an object with declare -lib context -path context. Finally, use canvasindex or any other object from context.

  • Available for .

Similar


    Comments

    Contributors