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
Pdand go toToolsFind Externals. Search forcontextand install it. Then create an object withdeclare -lib context -path context. Finally, usecanvasindexor any other object fromcontext. - Available for .