Skip to content

canvas.pos

The canvas.pos object reports the screen coordinates (x, y) of its parent subpatch or subwindow. When triggered by a bang, it outputs a list of two floats representing these coordinates. This object is useful for dynamically querying the visual layout of nested Pure Data patches.


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 else and install it. Then create an object with declare -lib else -path else. Finally, use canvas.pos or any other object from else.

  • Library developed mainly by Alexandre Torres Porres.
  • Report Bugs/Errors here!
  • Available for .

Similar


    Comments

    Contributors